puzhibing
2023-12-07 aa0131b1efb96c9f52371160b3a1e6823db3656a
ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java
@@ -1,17 +1,19 @@
package com.ruoyi.shop.service.shop;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverRequest;
import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.shop.domain.dto.*;
import com.ruoyi.shop.domain.vo.*;
import com.ruoyi.system.api.domain.dto.MerBaseDto;
import com.ruoyi.system.api.domain.dto.MgtBasePlatformDto;
import com.ruoyi.system.api.domain.dto.MgtShopIdByCodeDto;
import com.ruoyi.system.api.domain.poji.member.Member;
import com.ruoyi.system.api.domain.poji.shop.Shop;
import com.ruoyi.system.api.domain.vo.MerHomeShopTotalVo;
import com.ruoyi.system.api.domain.vo.MgtBulletinBoardVo;
import com.ruoyi.system.api.domain.vo.MgtShopIdByCodeVo;
import com.ruoyi.system.api.domain.vo.MgtSimpleShopVo;
import com.ruoyi.system.api.domain.vo.*;
import java.util.List;
@@ -111,10 +113,10 @@
    /**
     * 获取商户端首页统计
     * @param userId
     * @param merBaseDto
     * @return
     */
    MerHomeShopTotalVo getMerHomeTotal(Long userId);
    MerHomeShopTotalVo getMerHomeTotal(MerBaseDto merBaseDto);
    /**
     * 商户获取代理商列表
@@ -190,6 +192,16 @@
    */
    List<MgtShopAuthPageVo> pageMgtShopAuth(Page page,  MgtShopAuthPageDto mgtShopAuthPageDto);
    /**
     * 商户进件列表数据(汇付天下)
     * @param page
     * @param mgtShopAuthPageDto
     * @return
     */
    List<MgtShopHFTXAuthPageVo> pageMgtShopHFTXAuth(Page page,  MgtShopHFTXAuthPageDto mgtShopAuthPageDto);
    /**
    * @description boardShopTotal
    * @param
@@ -207,6 +219,27 @@
     * @return  void
     */
    void mgtShopAuth(MgtShopAuthDto mgtShopAuthDto);
    /**
     * @description  商户进件
     * @author  jqs
     * @date    2023/6/19 11:02
     * @param mgtShopHFTXAuthDto
     * @return  void
     */
    void mgtShopHFTXAuth(MgtShopHFTXAuthDto mgtShopHFTXAuthDto);
    /**
     * 商户进件回调异步通知
     * @return
     */
    R<String> merchantBasicdataNotify(MerchantBasicDataNotifyDto dto);
    /**
     * @description  获取平台商户统计
@@ -234,6 +267,14 @@
     * @return  MgtShopAuthGetVo
     */
    MgtShopAuthGetVo getMgtShopAuth(String authId);
    /**
     * 获取商户审核资料(汇付天下)
     * @param shopId
     * @return
     */
    MgtShopHFTXAuthGetVo getMgtShopHFTXAuthInfo(Long shopId);
    /**
     * @description  获取商户验证信息
@@ -269,7 +310,7 @@
     * @param userId
     * @return  Shop
     */
    Shop getShopByBelongUserId(Long userId);
    List<Shop> getShopByBelongUserId(Long userId);
    /**
     * @description  员工端获取商户列表
@@ -325,4 +366,79 @@
     * @return  void
     */
    void editShopCustomStatus(StaffShopCCEditDto staffShopCCEditDto);
    /**
     * 微信二级商户进件状态 定时任务检测
     */
    void queryEcommerceApplyMentsStatus();
    /**
     * @description
     * @author  jqs
     * @date    2023/8/10 22:54
     * @param cityCodes
     * @return  List<Long>
     */
    List<Long> listShopIdByCityCode(List<String> cityCodes);
    /**
     * @description  提交进件
     * @author  jqs
     * @date    2023/8/22 14:51
     * @param
     * @return  void
     */
    void authShop();
    /**
     * @description  修改店铺详细资料
     * @author  jqs
     * @date    2023/8/22 14:51
     * @param staffShopDetailDto
     * @return  void
     */
    void editShopDetail(StaffShopDetailDto staffShopDetailDto);
    /**
     * @description  获取店铺详细资料
     * @author  jqs
     * @date    2023/8/22 16:15
     * @param shopId
     * @return  StaffShopDetailVo
     */
    StaffShopDetailVo getShopDetail(Long shopId);
    /**
     * @description
     * @author  jqs
     * @date    2023/8/29 14:36
     * @param
     * @return  List<MgtUserTaskMsgVo>
     */
    List<MgtUserTaskMsgVo> getTaskMsgList();
    /**
     * @description  添加分账方
     * @author  jqs
     * @date    2023/9/4 18:14
     * @param mgtShopAuthGetDto
     * @return  void
     */
    void addProfitSharingReceiver(MgtShopAuthGetDto mgtShopAuthGetDto);
    /**
     * 设置分账比例
     * @param mgtShopShareRatioSetDto
     * @return
     */
    R setMgtShopShareRatio(MgtShopShareRatioSetDto mgtShopShareRatioSetDto);
    /**
     * 查询结算记录-第三方
     * @param merchantBasicdataSettlementDto
     * @return
     */
    R<List<MerchantBasicdataSettlementVo>> getMerchantBasicDataSettlement(MerchantBasicdataSettlementDto merchantBasicdataSettlementDto);
}