소스 검색

补贴流程

Newspaper 2 년 전
부모
커밋
c48ad940c0
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      admin/src/main/java/com/huimv/farm/damsubsidy/service/impl/BillLandingInspectionServiceImpl.java

+ 3 - 1
admin/src/main/java/com/huimv/farm/damsubsidy/service/impl/BillLandingInspectionServiceImpl.java

@@ -199,7 +199,9 @@ public class BillLandingInspectionServiceImpl extends ServiceImpl<BillLandingIns
             landingInspectionQueryWrapper.eq("veter_id",user.getVeterId());
         }
 
-        if (ObjectUtil.isNotEmpty(inspectionSch)){
+        if (inspectionSch.equals("4")){
+            landingInspectionQueryWrapper.eq("inspection_sch",4).or().eq("inspection_sch",5);
+        } else if (ObjectUtil.isNotEmpty(inspectionSch)){
             landingInspectionQueryWrapper.eq("inspection_sch",inspectionSch);
         }
         landingInspectionQueryWrapper.orderByDesc("create_time");