hanzhengyi 4 дней назад
Родитель
Сommit
6b0f88257d

+ 3 - 3
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanSonServiceImpl.java

@@ -619,9 +619,9 @@ public class PatrolInspectionPlanSonServiceImpl extends AbstractCrudService<Patr
         if (list > 0) {
             throw new BusinessException("不可重复采集地点");
         }
-        if (siteCount <= 0) {
-            throw new BusinessException("采集点位不合法,请采集合法点位");
-        }
+//        if (siteCount <= 0) {
+//            throw new BusinessException("采集点位不合法,请采集合法点位");
+//        }
         patrolInspectionSite.setCreator(SecurityUtils.getUsername());
         patrolInspectionSite.setCollector(SecurityUtils.getLoginUser().getSysUser().getNickName());
         patrolInspectionSite.setCreateTime(LocalDateTime.now());