use of com.bc.pmpheep.controller.bean.ResponseBean in project pmph by BCSquad.
the class DecPositionController method schoolListChosen.
/**
* Description:加载学校统计结果(按当选数排序)
*
* @author:lyc
* @date:2017年12月1日下午6:50:23
* @param
* @return ResponseBean
*/
@ResponseBody
@RequestMapping(value = "/list/schoolListChosen", method = RequestMethod.GET)
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "加载学校统计结果(按当选数排序)")
public ResponseBean schoolListChosen(Integer pageSize, Integer pageNumber, Long materialId, String schoolName) {
PageParameter<DeclarationResultSchoolVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
DeclarationResultSchoolVO declarationResultSchoolVO = new DeclarationResultSchoolVO();
declarationResultSchoolVO.setMaterialId(materialId);
declarationResultSchoolVO.setSchoolName(schoolName);
pageParameter.setParameter(declarationResultSchoolVO);
return new ResponseBean(decPositionService.listChosenDeclarationResultSchoolVOs(pageParameter));
}
use of com.bc.pmpheep.controller.bean.ResponseBean in project pmph by BCSquad.
the class DecPositionController method bookList.
/**
* Description:加载书本统计结果
*
* @author:lyc
* @date:2017年12月1日下午6:50:46
* @param
* @return ResponseBean
*/
@ResponseBody
@RequestMapping(value = "/list/bookList", method = RequestMethod.GET)
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "加载书本统计结果")
public ResponseBean bookList(Integer pageSize, Integer pageNumber, Long materialId, String bookName) {
PageParameter<DeclarationResultBookVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
DeclarationResultBookVO declarationResultBookVO = new DeclarationResultBookVO();
declarationResultBookVO.setMaterialId(materialId);
declarationResultBookVO.setBookName(bookName);
pageParameter.setParameter(declarationResultBookVO);
return new ResponseBean(decPositionService.listDeclarationResultBookVOs(pageParameter));
}
use of com.bc.pmpheep.controller.bean.ResponseBean 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.controller.bean.ResponseBean 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.controller.bean.ResponseBean 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));
}
Aggregations