소스 검색

月度库存报表问题处理

yzc 1 년 전
부모
커밋
ec044b6960
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      hx-wms/src/main/java/com/fjhx/wms/service/monthly/impl/MonthlyInventoryReportServiceImpl.java

+ 2 - 2
hx-wms/src/main/java/com/fjhx/wms/service/monthly/impl/MonthlyInventoryReportServiceImpl.java

@@ -123,8 +123,8 @@ public class MonthlyInventoryReportServiceImpl extends ServiceImpl<MonthlyInvent
             String tenantId = entry.getKey();
             String tenantId = entry.getKey();
             List<Stock> stockList = entry.getValue();
             List<Stock> stockList = entry.getValue();
             if (ObjectUtil.isEmpty(stockList)) {
             if (ObjectUtil.isEmpty(stockList)) {
-                //如果当前租户的信息为空直接跳过
-                return;
+                //如果租户库存的信息为空直接跳过这个租户
+                continue;
             }
             }
 
 
             List<MonthlyInventoryReportVo> olDmonthlyInventoryReportList = olDmonthlyInventoryReportMap.getOrDefault(tenantId, new ArrayList<>());
             List<MonthlyInventoryReportVo> olDmonthlyInventoryReportList = olDmonthlyInventoryReportMap.getOrDefault(tenantId, new ArrayList<>());