master
Gitea 2 weeks ago
parent a88a6a4219
commit 4eafe624d1
  1. 1
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/innovationvoucher/controller/InnovationVoucherController.java

@ -92,6 +92,7 @@ public class InnovationVoucherController extends JeecgController<InnovationVouch
HttpServletRequest req) { HttpServletRequest req) {
QueryWrapper<InnovationVoucher> queryWrapper = QueryGenerator.initQueryWrapper(innovationVoucher, req.getParameterMap()); QueryWrapper<InnovationVoucher> queryWrapper = QueryGenerator.initQueryWrapper(innovationVoucher, req.getParameterMap());
queryWrapper.eq("state","3");
Page<InnovationVoucher> page = new Page<InnovationVoucher>(pageNo, pageSize); Page<InnovationVoucher> page = new Page<InnovationVoucher>(pageNo, pageSize);
IPage<InnovationVoucher> pageList = innovationVoucherService.page(page, queryWrapper); IPage<InnovationVoucher> pageList = innovationVoucherService.page(page, queryWrapper);
return Result.OK(pageList); return Result.OK(pageList);

Loading…
Cancel
Save