fix settle_month

master
luoyang 6 years ago
parent 43f0852693
commit 2cce6ad198

@ -3510,7 +3510,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
} }
List<JSONObject> transactions = clearingDistributedSurchargeMapper.findTransactions(client.getIntValue("client_id")); List<JSONObject> transactions = clearingDistributedSurchargeMapper.findTransactions(client.getIntValue("client_id"));
transactions.forEach(e -> { transactions.forEach(e -> {
if ("Credit".equals(e.getString("type"))) { if ("Credit".equals(e.getString("type")) && !"settle revoke".equals(e.getString("remark"))) {
JSONObject manager = managerMapper.findDetail(e.getString("operation")); JSONObject manager = managerMapper.findDetail(e.getString("operation"));
e.put("operator_displayname", manager.getString("display_name")); e.put("operator_displayname", manager.getString("display_name"));
} }

Loading…
Cancel
Save