|
|
@ -349,9 +349,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
if (bdConfig != null) {
|
|
|
|
if (bdConfig != null) {
|
|
|
|
params.put("bd_group", bdConfig.getString("bd_group"));
|
|
|
|
params.put("bd_group", bdConfig.getString("bd_group"));
|
|
|
|
List<JSONObject> listGroupBds = financialBDConfigMapper.listGroupBds(bdConfig.getString("bd_group"));
|
|
|
|
List<JSONObject> listGroupBds = financialBDConfigMapper.listGroupBds(bdConfig.getString("bd_group"));
|
|
|
|
List<Integer> bdUserId = listGroupBds.stream().map(groupBd->groupBd.getIntValue("manager_id")).collect(Collectors.toList());
|
|
|
|
List<String> bdUserId = listGroupBds.stream().map(groupBd->groupBd.getString("manager_id")).collect(Collectors.toList());
|
|
|
|
if(params.containsKey("bd_user")){
|
|
|
|
if(params.containsKey("bd_user")){
|
|
|
|
if(!bdUserId.contains(params.getIntValue("bd_user"))){
|
|
|
|
if(!bdUserId.contains(params.getString("bd_user"))){
|
|
|
|
params.remove("bd_user");
|
|
|
|
params.remove("bd_user");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|