fix a+kyc通知增加bd显示以及条件筛选

master
Todking 3 years ago
parent e8069ecbe0
commit 37ce70cd83

@ -51,16 +51,8 @@ public class ApsNoticeClientsServiceImpl implements ApsNoticeClientsService {
}
}
JSONObject clinet = clientMapper.findClientByMoniker(apsNoticeClient.getString("partner_code"));
if (clinet != null && clinet.containsKey("bd_user") && StringUtils.isNotBlank(clinet.getString("bd_user"))) {
String[] bd_users = clinet.getString("bd_user").split(",");
List<String> bdUserName = new ArrayList<>();
for (String bd_user : bd_users) {
JSONObject bdUser = managerMapper.findDetail(bd_user);
if (bdUser != null && bdUser.containsKey("username") && StringUtils.isNotBlank(bdUser.getString("username"))) {
bdUserName.add(bdUser.getString("username"));
}
}
apsNoticeClient.put("bd_name", bdUserName);
if (clinet != null && clinet.containsKey("bd_user_name") && StringUtils.isNotBlank(clinet.getString("bd_user_name"))) {
apsNoticeClient.put("bd_name", clinet.containsKey("bd_user_name"));
}
}
return apsNoticeClients;

Loading…
Cancel
Save