fix 授信额度

master
luoyang 5 years ago
parent 33276f8400
commit f249a28113

@ -1909,12 +1909,10 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
throw new InvalidShortIdException(); throw new InvalidShortIdException();
} }
OrgCheckUtils.checkOrgPermission(manager, client); OrgCheckUtils.checkOrgPermission(manager, client);
JSONObject update = new JSONObject();
int clientId = client.getIntValue("client_id"); int clientId = client.getIntValue("client_id");
BigDecimal refundCreditLine = refundLineInfo.getBigDecimal("refund_credit_line"); BigDecimal refundCreditLine = refundLineInfo.getBigDecimal("refund_credit_line");
update.put("client_id", clientId); client.put("refund_credit_line", refundCreditLine);
update.put("refund_credit_line", refundCreditLine); clientMapper.update(client);
clientMapper.update(update);
clientInfoCacheSupport.clearClientCache(clientId); clientInfoCacheSupport.clearClientCache(clientId);
} }

Loading…
Cancel
Save