From 1772afb069b75871572c9c438bbd2bc403f864df Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 13 十二月 2023 11:43:51 +0800 Subject: [PATCH] 修改bug --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java | 78 +++++++++++++++++++++++++++++++++----- 1 files changed, 67 insertions(+), 11 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java index 03ff06d..d9550e3 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java @@ -1,10 +1,11 @@ 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.github.binarywang.wxpay.exception.WxPayException; +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; @@ -191,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,7 +218,28 @@ * @param mgtShopAuthDto * @return void */ - void mgtShopAuth(MgtShopAuthDto mgtShopAuthDto) throws WxPayException; + 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 获取平台商户统计 @@ -235,6 +267,14 @@ * @return MgtShopAuthGetVo */ MgtShopAuthGetVo getMgtShopAuth(String authId); + + + /** + * 获取商户审核资料(汇付天下) + * @param shopId + * @return + */ + MgtShopHFTXAuthGetVo getMgtShopHFTXAuthInfo(Long shopId); /** * @description 获取商户验证信息 @@ -367,15 +407,7 @@ * @return StaffShopDetailVo */ StaffShopDetailVo getShopDetail(Long shopId); - - /** - * @description - * @author jqs - * @date 2023/8/23 9:44 - * @param - * @return void - */ - ProfitSharingReceiverResult addProfitSharingReceiver(ProfitSharingReceiverRequest request); + /** * @description @@ -385,4 +417,28 @@ * @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); } -- Gitblit v1.7.1