重复岗位去重

This commit is contained in:
zhal 2022-07-20 20:17:17 +08:00
parent b006c3239a
commit cd95fa25d9

View File

@ -227,7 +227,7 @@ public class SynchronousOrgJob implements IJob {
} }
List<RowMap> orgdepartmentList=DBSql.getMaps("select POSITION_NO,POSITION_NAME from ORGUSER WHERE DEPARTMENTID=?",departmentId); List<RowMap> orgdepartmentList=DBSql.getMaps("select DISTINCT(POSITION_NAME) from ORGUSER WHERE DEPARTMENTID=?",departmentId);
JSONArray shapes = new JSONArray(); JSONArray shapes = new JSONArray();
if(orgdepartmentList.size()>0){ if(orgdepartmentList.size()>0){