소스 검색

农户不看产地检

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

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

@@ -260,7 +260,7 @@ public class BillLandingInspectionServiceImpl extends ServiceImpl<BillLandingIns
 
         QueryWrapper<BillLandingInspection> landingInspectionQueryWrapper = new QueryWrapper<>();
         if (userType == 2 || userType == 3){
-            landingInspectionQueryWrapper.eq("create_user",userName);
+            landingInspectionQueryWrapper.eq("create_user",userName).eq("inspection_type",0);
         }else if (userType == 1){
             landingInspectionQueryWrapper.eq("veter_id",user.getVeterId()).eq("inspection_type",0);
         }