Newspaper пре 1 година
родитељ
комит
ca797a319f

+ 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);
         }