修改部门详情查询
parent
69aac79a94
commit
ada3b07031
|
|
@ -38,8 +38,8 @@ public class ZcloudDepartmentFacadeImpl implements ZcloudDepartmentFacade {
|
||||||
private DepartmentCoConvertor departmentCoConvertor;
|
private DepartmentCoConvertor departmentCoConvertor;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SingleResponse<ZcloudDepartmentInfoCo> getDepartmentInfoById(ZcloudDepartmentInfoQry zcloudDepartmentInfoQry) {
|
public SingleResponse<ZcloudDepartmentInfoCo> getDepartmentInfoById(Long id) {
|
||||||
DepartmentCO info = departmentService.info(zcloudDepartmentInfoQry.getId());
|
DepartmentCO info = departmentService.info(id);
|
||||||
ZcloudDepartmentInfoCo zcloudDepartmentInfoCo = new ZcloudDepartmentInfoCo();
|
ZcloudDepartmentInfoCo zcloudDepartmentInfoCo = new ZcloudDepartmentInfoCo();
|
||||||
BeanUtils.copyProperties(info, zcloudDepartmentInfoCo);
|
BeanUtils.copyProperties(info, zcloudDepartmentInfoCo);
|
||||||
return SingleResponse.of(zcloudDepartmentInfoCo);
|
return SingleResponse.of(zcloudDepartmentInfoCo);
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,6 @@ public class CorpQualificationInfoQueryExe {
|
||||||
Map<String, Object> parmas = PageQueryHelper.toHashMap(corpQualificationInfoPageQry);
|
Map<String, Object> parmas = PageQueryHelper.toHashMap(corpQualificationInfoPageQry);
|
||||||
PageResponse<CorpQualificationInfoDO> pageResponse = corpQualificationInfoRepository.listPage(parmas);
|
PageResponse<CorpQualificationInfoDO> pageResponse = corpQualificationInfoRepository.listPage(parmas);
|
||||||
List<CorpQualificationInfoCO> examCenterCOS = corpQualificationInfoCoConvertor.converDOsToCOs(pageResponse.getData());
|
List<CorpQualificationInfoCO> examCenterCOS = corpQualificationInfoCoConvertor.converDOsToCOs(pageResponse.getData());
|
||||||
//TODO 获取图片url信息
|
|
||||||
|
|
||||||
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,6 @@ public class UserQualificationInfoQueryExe {
|
||||||
Map<String,Object> params = PageQueryHelper.toHashMap(userQualificationInfoPageQry);
|
Map<String,Object> params = PageQueryHelper.toHashMap(userQualificationInfoPageQry);
|
||||||
PageResponse<UserQualificationInfoDO> pageResponse = userQualificationInfoRepository.listPage(params);
|
PageResponse<UserQualificationInfoDO> pageResponse = userQualificationInfoRepository.listPage(params);
|
||||||
List<UserQualificationInfoCO> examCenterCOS = userQualificationInfoCoConvertor.converDOsToCOs(pageResponse.getData());
|
List<UserQualificationInfoCO> examCenterCOS = userQualificationInfoCoConvertor.converDOsToCOs(pageResponse.getData());
|
||||||
//TODO 获取图片url信息
|
|
||||||
|
|
||||||
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -47,8 +45,6 @@ public class UserQualificationInfoQueryExe {
|
||||||
SingleResponse<UserQualificationInfoDO> userQualificationInfoDO = userQualificationInfoRepository.getInfoById(id);
|
SingleResponse<UserQualificationInfoDO> userQualificationInfoDO = userQualificationInfoRepository.getInfoById(id);
|
||||||
SingleResponse<UserQualificationInfoCO> userQualificationInfoCO = new SingleResponse<>();
|
SingleResponse<UserQualificationInfoCO> userQualificationInfoCO = new SingleResponse<>();
|
||||||
BeanUtils.copyProperties(userQualificationInfoDO,userQualificationInfoCO);
|
BeanUtils.copyProperties(userQualificationInfoDO,userQualificationInfoCO);
|
||||||
//TODO 获取图片url信息
|
|
||||||
|
|
||||||
return userQualificationInfoCO;
|
return userQualificationInfoCO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue