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