use of com.bc.pmpheep.annotation.LogDetail in project pmph by BCSquad.
the class WriterPointController method list.
/**
* 用户积分分页查询
* @param pageSize
* @param pageNumber
* @param username
* @param realname
* @return
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "分页查询用户积分列表")
@RequestMapping(value = "/list", method = RequestMethod.GET)
public ResponseBean list(@RequestParam("pageSize") Integer pageSize, @RequestParam("pageNumber") Integer pageNumber, @RequestParam("username") String username, @RequestParam("realname") String realname) {
PageParameter<WriterPointVO> pageParameter = new PageParameter<WriterPointVO>(pageNumber, pageSize);
WriterPointVO writerPoint = new WriterPointVO();
writerPoint.setUsername(username);
writerPoint.setRealname(realname);
pageParameter.setParameter(writerPoint);
return new ResponseBean(writerPointService.getListWriterPoint(pageParameter));
}
use of com.bc.pmpheep.annotation.LogDetail in project pmph by BCSquad.
the class WriterPointLogController method listExchange.
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "分页查询用户积分兑换记录列表")
@RequestMapping(value = "/listExchange", method = RequestMethod.GET)
public ResponseBean listExchange(@RequestParam("pageSize") Integer pageSize, @RequestParam("pageNumber") Integer pageNumber, @RequestParam("userId") Long userId, @RequestParam("startTime") String startTime, @RequestParam("endTime") String endTime) {
PageParameter<WriterPointLogVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
WriterPointLogVO writerPointLogVO = new WriterPointLogVO();
writerPointLogVO.setUserId(userId);
writerPointLogVO.setStartTime(startTime);
writerPointLogVO.setEndTime(endTime);
pageParameter.setParameter(writerPointLogVO);
return new ResponseBean(writerPointLogService.getListWriterPointLogExchange(pageParameter));
}
use of com.bc.pmpheep.annotation.LogDetail in project pmph by BCSquad.
the class WriterPointRuleController method exchangeList.
/**
* 分页查询兑换规则列表
* @param pageSize
* @param pageNumber
* @param ruleCode
* @param ruleName
* @return
*/
@ResponseBody
@LogDetail(businessType = BUSSINESS_TYPE, logRemark = "分页查询兑换规则列表")
@RequestMapping(value = "/exchangeList", method = RequestMethod.GET)
public ResponseBean exchangeList(@RequestParam("pageSize") Integer pageSize, @RequestParam("pageNumber") Integer pageNumber, @RequestParam("ruleCode") String ruleCode, @RequestParam("ruleName") String ruleName) {
PageParameter<WriterPointRuleVO> pageParameter = new PageParameter<WriterPointRuleVO>(pageNumber, pageSize);
WriterPointRuleVO writerPointRuleVO = new WriterPointRuleVO();
writerPointRuleVO.setRuleName(ruleName);
writerPointRuleVO.setRuleCode(ruleCode);
pageParameter.setParameter(writerPointRuleVO);
return new ResponseBean(writerPointRuleService.getlistWriterPointRulePoint(pageParameter));
}
Aggregations