会员退款
This commit is contained in:
@@ -423,7 +423,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
ShopUser shopUser = shopUserService.getShopUserInfo(refPayParam.getShopId(), refPayParam.getUserId());
|
ShopUser shopUser = shopUserService.getShopUserInfo(refPayParam.getShopId(), refPayParam.getUserId());
|
||||||
ShopUserFlow inFlow = userFlowService.getById(refPayParam.getFlowId());
|
ShopUserFlow inFlow = userFlowService.getById(refPayParam.getFlowId());
|
||||||
AssertUtil.isNull(inFlow, "充值记录不存在");
|
AssertUtil.isNull(inFlow, "充值记录不存在");
|
||||||
if (inFlow.getBizCode().equals("cashIn")) {
|
if ("cashIn".equals(inFlow.getBizCode()) || "adminIn".equals(inFlow.getBizCode())) {
|
||||||
refPayParam.setCashRefund(true);
|
refPayParam.setCashRefund(true);
|
||||||
}
|
}
|
||||||
QueryWrapper queryWrapper = new QueryWrapper();
|
QueryWrapper queryWrapper = new QueryWrapper();
|
||||||
|
|||||||
Reference in New Issue
Block a user