use of com.bc.pmpheep.back.plugin.PageParameter in project pmph by BCSquad.
the class DecPositionController method schoolResultsChosen.
/**
* Description:加载学校申报情况统计结果(按当选数排序)
*
* @author:lyc
* @date:2017年12月1日下午3:03:36
* @param
* @return ResponseBean
*/
@ResponseBody
@RequestMapping(value = "/list/schoolResultsChosen", method = RequestMethod.GET)
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "加载学校申报情况统计结果(按当选数排序)")
public ResponseBean schoolResultsChosen(Integer pageSize, Integer pageNumber, Long materialId, String schoolName) {
PageParameter<DeclarationSituationSchoolResultVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
DeclarationSituationSchoolResultVO declarationSituationSchoolResultVO = new DeclarationSituationSchoolResultVO();
declarationSituationSchoolResultVO.setMaterialId(materialId);
declarationSituationSchoolResultVO.setSchoolName(schoolName);
pageParameter.setParameter(declarationSituationSchoolResultVO);
return new ResponseBean(decPositionService.listChosenDeclarationSituationSchoolResultVOs(pageParameter));
}
use of com.bc.pmpheep.back.plugin.PageParameter in project pmph by BCSquad.
the class DecPositionController method bookResults.
/**
* Description:加载书本申报情况统计结果
*
* @author:lyc
* @date:2017年12月1日下午5:44:16
* @param
* @return ResponseBean
*/
@ResponseBody
@RequestMapping(value = "/list/bookResults", method = RequestMethod.GET)
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "加载书本申报情况统计结果")
public ResponseBean bookResults(Integer pageSize, Integer pageNumber, Long materialId, String bookName) {
PageParameter<DeclarationSituationBookResultVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
DeclarationSituationBookResultVO declarationSituationBookResultVO = new DeclarationSituationBookResultVO();
declarationSituationBookResultVO.setMaterialId(materialId);
declarationSituationBookResultVO.setBookName(bookName);
pageParameter.setParameter(declarationSituationBookResultVO);
return new ResponseBean(decPositionService.listDeclarationSituationBookResultVOs(pageParameter));
}
use of com.bc.pmpheep.back.plugin.PageParameter in project pmph by BCSquad.
the class DecPositionController method declaration.
/**
* <pre>
* 功能描述:
* 使用示范:
*
* @param pageSize
* @param pageNumber
* @param textbookIds
* @return
* </pre>
*/
@ResponseBody
@RequestMapping(value = "/textbook/declaration", method = RequestMethod.GET)
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "获取书籍的申报者")
public ResponseBean declaration(@RequestParam("pageNumber") Integer pageNumber, @RequestParam("pageSize") Integer pageSize, @RequestParam("textbookIds") String[] textbookIds) {
PageParameter<TextBookDecPositionVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
TextBookDecPositionVO textBookDecPositionVO = new TextBookDecPositionVO();
textBookDecPositionVO.setTextBookIds(textbookIds);
pageParameter.setParameter(textBookDecPositionVO);
return new ResponseBean(decPositionService.listDeclarationByTextbookIds(pageParameter));
}
use of com.bc.pmpheep.back.plugin.PageParameter in project pmph by BCSquad.
the class SchoolAndTeacherCheckController method writerList.
/**
* <pre>
* 功能描述:获取教师审核列表
* 使用示范:
*
* @param pageNumber 当前页
* @param pageSize 页面大小
* @param writerUserManagerVO
* @return 分页数据集
* </pre>
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "查询系统消息列表")
@RequestMapping(value = "/writerList", method = RequestMethod.GET)
public ResponseBean writerList(@RequestParam(name = "pageNumber", defaultValue = "1") Integer pageNumber, @RequestParam(name = "pageSize") Integer pageSize, @RequestParam("realname") String realname, @RequestParam("orgName") String orgName, @RequestParam("progress") Short progress) {
PageParameter pageParameter = new PageParameter<>();
WriterUserManagerVO writerUserManagerVO = new WriterUserManagerVO();
if (StringUtil.notEmpty(orgName)) {
// 去除空格
writerUserManagerVO.setOrgName(orgName.replaceAll(" ", ""));
}
if (StringUtil.notEmpty(realname)) {
writerUserManagerVO.setRealname(realname.replaceAll(" ", ""));
}
writerUserManagerVO.setProgress(progress);
pageParameter.setPageNumber(pageNumber);
pageParameter.setPageSize(pageSize);
pageParameter.setParameter(writerUserManagerVO);
return new ResponseBean(writerUserService.getTeacherCheckList(pageParameter));
}
use of com.bc.pmpheep.back.plugin.PageParameter in project pmph by BCSquad.
the class SchoolAndTeacherCheckController method orgList.
/**
* <pre>
* 功能描述:获取学校管理员审核列表
* 使用示范:
*
* @param pageNumber 当前页
* @param pageSize 页面大小
* @param orgVO orgVO
* @return 分页数据集
* </pre>
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "查询系统消息列表")
@RequestMapping(value = "/orgList", method = RequestMethod.GET)
public ResponseBean orgList(@RequestParam(name = "pageNumber", defaultValue = "1") Integer pageNumber, @RequestParam("orgName") String orgName, @RequestParam("realname") String realname, @RequestParam("progress") Integer progress, @RequestParam(name = "pageSize") Integer pageSize) {
PageParameter pageParameter = new PageParameter<>();
OrgVO orgVO = new OrgVO();
if (StringUtil.notEmpty(orgName)) {
orgVO.setOrgName(orgName.replaceAll(" ", ""));
}
if (StringUtil.notEmpty(realname)) {
orgVO.setRealname(realname.replaceAll(" ", ""));
}
orgVO.setProgress(progress);
pageParameter.setPageNumber(pageNumber);
pageParameter.setPageSize(pageSize);
pageParameter.setParameter(orgVO);
return new ResponseBean(orgService.getSchoolAdminCheckList(pageParameter));
}
Aggregations