Browse Source

代码优化

Kute 1 day ago
parent
commit
e313990743

+ 3 - 0
src/main/java/com/shcd/boat/service/impl/ShorePowerServiceImpl.java

@@ -280,6 +280,9 @@ public class ShorePowerServiceImpl implements ShorePowerService {
                 if (CollectionUtils.isEmpty(declareList)){
                     log.info("无ais的船与货物装卸申报的船未匹配");
                 }
+                if (CollectionUtils.isEmpty(declareIds)){
+                    log.info("无数据");
+                }
                 //无ais获取货物装卸申报的开工时间和完工提交时间
                 List<String> finalDeclareIds = declareIds;
                 declareList.forEach(i -> {