回填退款前置
This commit is contained in:
@@ -30,7 +30,6 @@ dubbo:
|
||||
name: account-server
|
||||
qos-port: 22222
|
||||
qos-enable: true
|
||||
serialize-check-status: DISABLE
|
||||
registry:
|
||||
address: nacos://121.40.109.122:8848 # Nacos 服务地址
|
||||
group: server-test
|
||||
|
||||
@@ -32,7 +32,6 @@ dubbo:
|
||||
name: order-server
|
||||
qos-port: 22232
|
||||
qos-enable: true
|
||||
serialize-check-status: DISABLE
|
||||
registry:
|
||||
address: nacos://121.40.109.122:8848 # Nacos 服务地址
|
||||
group: server-test
|
||||
|
||||
@@ -405,10 +405,9 @@ public class PayServiceImpl implements PayService {
|
||||
Map<String, BigDecimal> resultMap = new HashMap<>(5);
|
||||
ShopUser shopUser = shopUserService.getShopUserInfo(payParam.getShopId(), payParam.getUserId());
|
||||
AssertUtil.isNull(shopUser, "该店铺用户不存在");
|
||||
ShopUserFlow inFlow = userFlowService.queryChain().select()
|
||||
.eq(ShopUserFlow::getId, payParam.getFlowId()).one();
|
||||
ShopUserFlow inFlow = userFlowService.getById(payParam.getFlowId());
|
||||
AssertUtil.isNull(inFlow, "充值记录不存在");
|
||||
ShopUserFlow giftFlow = userFlowService.queryChain().select()
|
||||
ShopUserFlow giftFlow = userFlowService.queryChain()
|
||||
.eq(ShopUserFlow::getRelationId, payParam.getFlowId())
|
||||
.eq(ShopUserFlow::getBizCode, ShopUserFlowBizEnum.AWARD_IN.getCode())
|
||||
.one();
|
||||
|
||||
Reference in New Issue
Block a user