duhongyu 6 年 前
コミット
559120dca5

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

578
         {
578
         {
579
             int overtime=0, sms=0;
579
             int overtime=0, sms=0;
580
             //处理当前工单的记录之前的记录过期
580
             //处理当前工单的记录之前的记录过期
581
-            var itemlasts = itembll.GetModelList("  F_ItemType=" + (int)EnumItemType.deal + " and  F_WoID=" + id + " ");
581
+            var itemlasts = itembll.GetModelList("  F_ItemType=" + (int)EnumItemType.deal + " and  F_WoID=" + model.F_ID  + " ");
582
             if (itemlasts.Count > 0)
582
             if (itemlasts.Count > 0)
583
             {
583
             {
584
                 foreach (var it in itemlasts)
584
                 foreach (var it in itemlasts)