添加退款、会员退款、会员充值控制
This commit is contained in:
parent
e9711dffe3
commit
2ca427f808
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue