Browse Source

月度库存报表问题处理

yzc 1 year ago
parent
commit
ec044b6960

+ 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();
             List<Stock> stockList = entry.getValue();
             if (ObjectUtil.isEmpty(stockList)) {
-                //如果当前租户的信息为空直接跳过
-                return;
+                //如果租户库存的信息为空直接跳过这个租户
+                continue;
             }
 
             List<MonthlyInventoryReportVo> olDmonthlyInventoryReportList = olDmonthlyInventoryReportMap.getOrDefault(tenantId, new ArrayList<>());