diff --git a/DOAN.Service/MES/product/ProweekplanManageService.cs b/DOAN.Service/MES/product/ProweekplanManageService.cs index c7c1d90..190c8f6 100644 --- a/DOAN.Service/MES/product/ProweekplanManageService.cs +++ b/DOAN.Service/MES/product/ProweekplanManageService.cs @@ -150,7 +150,7 @@ namespace DOAN.Service.MES.product // 清空缓存列表 insertProWeekPlanList.Clear(); insertProWeeklyDateList.Clear(); - insertCount = insertCount + insertProWeekPlanList.Count; + insertCount = insertCount + insertProWeekPlanList.Count+ insertProWeeklyDateList.Count; } } @@ -158,7 +158,7 @@ namespace DOAN.Service.MES.product if (insertProWeekPlanList.Count > 0) { InsertBatchData(insertProWeekPlanList, insertProWeeklyDateList, year, week, username); - insertCount = insertCount + insertProWeekPlanList.Count; + insertCount = insertCount + insertProWeekPlanList.Count+ insertProWeeklyDateList.Count; } return insertCount;