use of com.bc.pmpheep.back.vo.DepartmentOptsVO in project pmph by BCSquad.
the class PmphDepartmentController method listOpts.
/**
* 功能描述:选题申报运维人员获取部门和部门负责人
*
* @param dpName
* 部门名称
* @param pageSize
* 当页条数
* @param pageNumber
* 当前页数
* @return
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "获取部门与部门负责人")
@RequestMapping(value = "/listOpts", method = RequestMethod.GET)
public ResponseBean listOpts(String dpName, Integer pageSize, Integer pageNumber) {
PageParameter<DepartmentOptsVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
DepartmentOptsVO departmentOptsVO = new DepartmentOptsVO();
departmentOptsVO.setDpName(dpName);
pageParameter.setParameter(departmentOptsVO);
return new ResponseBean(pmphDepartmentService.listOpts(pageParameter));
}
Aggregations