|
@@ -124,7 +124,7 @@ public class DeptInfoFacade extends DeptInfoServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public IPage<GetDeptInfoDTO> getDeptInfo(GetDeptInfoVO getDeptInfoVO) {
|
|
|
- IPage<GetDeptInfoDTO> iPage = this.getAllDeptInfo(getDeptInfoVO);
|
|
|
+ IPage<GetDeptInfoDTO> iPage = this.getDeptInfos(getDeptInfoVO);
|
|
|
List<String> ids = new ArrayList<>();
|
|
|
for (GetDeptInfoDTO getDeptInfoDTO : iPage.getRecords()) {
|
|
|
ids.add(getDeptInfoDTO.getModifier());
|
|
@@ -137,10 +137,10 @@ public class DeptInfoFacade extends DeptInfoServiceImpl {
|
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR,
|
|
|
"获取用户信息失败");
|
|
|
}
|
|
|
- }
|
|
|
- //将用户信息放入实体
|
|
|
- for (GetDeptInfoDTO getDeptInfoDTO : iPage.getRecords()) {
|
|
|
- getDeptInfoDTO.setUserName(respDTO.data.get(getDeptInfoDTO.getModifier()));
|
|
|
+ //将用户信息放入实体
|
|
|
+ for (GetDeptInfoDTO getDeptInfoDTO : iPage.getRecords()) {
|
|
|
+ getDeptInfoDTO.setUserName(respDTO.data.get(getDeptInfoDTO.getModifier()));
|
|
|
+ }
|
|
|
}
|
|
|
return iPage;
|
|
|
}
|