|
|
|
@ -100,6 +100,23 @@ public class InnovationVoucherController extends JeecgController<InnovationVouch |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiOperation(value="创新券表-分页列表查询", notes="创新券表-分页列表查询") |
|
|
|
|
@GetMapping(value = "/listcmssy") |
|
|
|
|
public Result<IPage<InnovationVoucher>> listcmssy(InnovationVoucher innovationVoucher, |
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize, |
|
|
|
|
HttpServletRequest req) { |
|
|
|
|
|
|
|
|
|
QueryWrapper<InnovationVoucher> queryWrapper = QueryGenerator.initQueryWrapper(innovationVoucher, req.getParameterMap()); |
|
|
|
|
queryWrapper.eq("state","3"); |
|
|
|
|
queryWrapper.eq("use_state","1"); |
|
|
|
|
queryWrapper.eq("sf_state","0"); |
|
|
|
|
queryWrapper.orderByDesc("create_time"); |
|
|
|
|
Page<InnovationVoucher> page = new Page<InnovationVoucher>(pageNo, pageSize); |
|
|
|
|
IPage<InnovationVoucher> pageList = innovationVoucherService.page(page, queryWrapper); |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 通过id查询 |
|
|
|
|
* |
|
|
|
|