修复收银机充值异常缺陷
This commit is contained in:
parent
7765758c9b
commit
4f2e4e7f2e
|
|
@ -717,7 +717,7 @@ public class MemberService {
|
|||
JSONObject baObj = new JSONObject();
|
||||
baObj.put("userId", shopUser.getUserId());
|
||||
baObj.put("shopId", shopInfo.getId());
|
||||
baObj.put("amount", ObjectUtil.isNull(fl) ? amount : amount.add(fl.get()));
|
||||
baObj.put("amount", ObjectUtil.isNull(fl.get()) ? amount : amount.add(fl.get()));
|
||||
baObj.put("balance", shopUser.getAmount());
|
||||
baObj.put("type", "充值");
|
||||
baObj.put("time", flow.get().getCreateTime());
|
||||
|
|
@ -852,5 +852,4 @@ public class MemberService {
|
|||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue