|
|
@@ -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());
|