添加退款、会员退款、会员充值控制

This commit is contained in:
牛叉闪闪 2024-08-27 17:33:10 +08:00
parent e9711dffe3
commit 2ca427f808
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ public class TbShopUserServiceImpl implements TbShopUserService {
flow.setBizCode("inMoney".equals(type)?"inMoneyIn":"consumeIn");
tbShopUser.setAmount(tbShopUser.getAmount().add(amount));
}else if("out".equals(operationType)){
flow.setBizName("inMoney".equals(type)?"充值退款":"消费");
flow.setBizCode("inMoney".equals(type)?"inMoneyOut":"consumeOut");
flow.setBizName("inMoneyOut".equals(type)?"充值退款":"消费");
flow.setBizCode("inMoneyOut".equals(type)?"inMoneyOut":"consumeOut");
flow.setType("-");
tbShopUser.setAmount(tbShopUser.getAmount().subtract(amount));
}else {