task/warehouse_month_stats.go
@@ -51,7 +51,7 @@ oldRecordsMap := models.WarehouseMonthStatsMap(oldRecords) //本月期初数量/上月结余数量 statsRecords, err := service.GetCurrentWarehouseStats(date, warehouseId, nil) statsRecords, err := service.GetCurrentWarehouseStats(date, warehouseId, nil, false) if err != nil { continue } @@ -89,7 +89,7 @@ } } if err == nil { service.SendAlarm("按仓库月度统计执行成功", "") //service.SendAlarm("按仓库月度统计执行成功", "") } return