浏览代码

接口122

wwh 2 年之前
父节点
当前提交
71d2702dad

+ 5 - 0
admin/src/main/java/com/huimv/farm/damsubsidy/service/impl/BillSubsidyServiceImpl.java

@@ -279,6 +279,11 @@ public class BillSubsidyServiceImpl extends ServiceImpl<BillSubsidyMapper, BillS
             Page<BillSubsidy> page = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
             return new Result(ResultCode.SUCCESS, subsidyMapper.selectPage(page, queryWrapper));
         }
+        if (Integer.parseInt(type) == 3) {
+            queryWrapper.in("is_pay", 0,1).eq("subsidy_sch",3);
+            Page<BillSubsidy> page = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
+            return new Result(ResultCode.SUCCESS, subsidyMapper.selectPage(page, queryWrapper));
+        }
         queryWrapper.eq(StringUtils.isNotBlank(type),"subsidy_sch",type);
         Page<BillSubsidy> page = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
         return new Result(ResultCode.SUCCESS, subsidyMapper.selectPage(page, queryWrapper));