修复收银机充值异常缺陷
This commit is contained in:
@@ -717,7 +717,7 @@ public class MemberService {
|
|||||||
JSONObject baObj = new JSONObject();
|
JSONObject baObj = new JSONObject();
|
||||||
baObj.put("userId", shopUser.getUserId());
|
baObj.put("userId", shopUser.getUserId());
|
||||||
baObj.put("shopId", shopInfo.getId());
|
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("balance", shopUser.getAmount());
|
||||||
baObj.put("type", "充值");
|
baObj.put("type", "充值");
|
||||||
baObj.put("time", flow.get().getCreateTime());
|
baObj.put("time", flow.get().getCreateTime());
|
||||||
@@ -852,5 +852,4 @@ public class MemberService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user