|
@@ -162,6 +162,9 @@ public class SysPostServiceImpl extends BaseService<SysPost, Long> implements Sy
|
|
|
@Override
|
|
|
public List<SysPost> getSysPostListByDeptId(Long deptId, SysPost filter, String orderBy) {
|
|
|
List<SysPost> resultList = sysPostMapper.getSysPostListByDeptId(deptId, filter, orderBy);
|
|
|
+ for (SysPost sysPost : resultList) {
|
|
|
+ sysPost.getSysDeptPost().setDeptPostIds(sysPost.getSysDeptPost().getDeptPostId().toString());
|
|
|
+ }
|
|
|
this.buildRelationForDataList(resultList, MyRelationParam.dictOnly());
|
|
|
return resultList;
|
|
|
}
|