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