use of com.bc.pmpheep.back.vo.PmphEditorVO in project pmph by BCSquad.
the class TopicController method listEditors.
/**
* Description:部门主任获取部门人员信息列表
*
* @author:lyc
* @date:2017年12月27日下午5:02:46
* @param
* @return ResponseBean
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "获取部门编辑列表")
@RequestMapping(value = "/listEditors", method = RequestMethod.GET)
public ResponseBean listEditors(Long departmentId, String realName, Integer pageSize, Integer pageNumber) {
PageParameter<PmphEditorVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
PmphEditorVO pmphEditorVO = new PmphEditorVO();
pmphEditorVO.setDepartmentId(departmentId);
pmphEditorVO.setRealName(realName);
pageParameter.setParameter(pmphEditorVO);
return new ResponseBean(pmphUserService.listEditors(pageParameter));
}
Aggregations