|
@@ -766,7 +766,9 @@ public class HandleData {
|
|
|
for (Map<String, Object> employeeMap : employeeList) {
|
|
for (Map<String, Object> employeeMap : employeeList) {
|
|
|
String userID = (String) employeeMap.get("ID_");
|
|
String userID = (String) employeeMap.get("ID_");
|
|
|
String userName = (String) employeeMap.get("NAME_");
|
|
String userName = (String) employeeMap.get("NAME_");
|
|
|
- String depIDStr = (String) employeeMap.get("POSITIONS_");
|
|
|
|
|
|
|
+ //String depIDStr = (String) employeeMap.get("POSITIONS_");
|
|
|
|
|
+ //改成取主部门
|
|
|
|
|
+ String depIDStr = ibpsRepository.getMainPos(userID);
|
|
|
if (depIDStr == null || depIDStr.trim().isEmpty()) {
|
|
if (depIDStr == null || depIDStr.trim().isEmpty()) {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|