From 46d1469fe4549c61db823269d56ca09b5c4cf645 Mon Sep 17 00:00:00 2001 From: xhxu Date: Wed, 26 Apr 2023 23:12:48 +0800 Subject: [PATCH] //merchant bug --- .../mapper/WxProfitSharingReceiverApplyMapper.java | 2 ++ .../impl/WxProfitSharingReceiverApplyServiceImpl.java | 2 +- .../mapper/WxProfitSharingReceiverApplyMapper.xml | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/mapper/WxProfitSharingReceiverApplyMapper.java b/mallinkService/src/main/java/com/iformall/mapper/WxProfitSharingReceiverApplyMapper.java index 9401e19be..925811575 100644 --- a/mallinkService/src/main/java/com/iformall/mapper/WxProfitSharingReceiverApplyMapper.java +++ b/mallinkService/src/main/java/com/iformall/mapper/WxProfitSharingReceiverApplyMapper.java @@ -22,4 +22,6 @@ public interface WxProfitSharingReceiverApplyMapper extends CommonMapper findListVo(WxMerchantReceiverApplyVo receiver); int updateDelById(@Param("id") Long id); + + WxProfitSharingReceiverApply findOne(WxProfitSharingReceiverApply receiverApply); } diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingReceiverApplyServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingReceiverApplyServiceImpl.java index 58247d618..c01096664 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingReceiverApplyServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingReceiverApplyServiceImpl.java @@ -77,7 +77,7 @@ public class WxProfitSharingReceiverApplyServiceImpl implements WxProfitSharingR receiverApply.setMerchantId(merchantId); receiverApply.setPlat(plat.getCode()); // receiverApply.setStatus(EnumSharingReceiverApplyStatus.PROFIT_RECEIVER_APPLY_STATUS_VALID.getCode()); - return wxProfitSharingReceiverApplyMapper.selectOne(new QueryWrapper<>(receiverApply)); + return wxProfitSharingReceiverApplyMapper.findOne(receiverApply); } @Override diff --git a/mallinkService/src/main/resources/mapper/WxProfitSharingReceiverApplyMapper.xml b/mallinkService/src/main/resources/mapper/WxProfitSharingReceiverApplyMapper.xml index a277a6e10..0d69a31c3 100644 --- a/mallinkService/src/main/resources/mapper/WxProfitSharingReceiverApplyMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxProfitSharingReceiverApplyMapper.xml @@ -142,6 +142,13 @@ + +