Search in sources :

Example 1 with TextBookDecPositionVO

use of com.bc.pmpheep.back.vo.TextBookDecPositionVO 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));
}
Also used : TextBookDecPositionVO(com.bc.pmpheep.back.vo.TextBookDecPositionVO) PageParameter(com.bc.pmpheep.back.plugin.PageParameter) ResponseBean(com.bc.pmpheep.controller.bean.ResponseBean) LogDetail(com.bc.pmpheep.annotation.LogDetail) ResponseBody(org.springframework.web.bind.annotation.ResponseBody) RequestMapping(org.springframework.web.bind.annotation.RequestMapping)

Aggregations

LogDetail (com.bc.pmpheep.annotation.LogDetail)1 PageParameter (com.bc.pmpheep.back.plugin.PageParameter)1 TextBookDecPositionVO (com.bc.pmpheep.back.vo.TextBookDecPositionVO)1 ResponseBean (com.bc.pmpheep.controller.bean.ResponseBean)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)1