@@ -578,7 +578,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
{
int overtime=0, sms=0;
//处理当前工单的记录之前的记录过期
- var itemlasts = itembll.GetModelList(" F_ItemType=" + (int)EnumItemType.deal + " and F_WoID=" + id + " ");
+ var itemlasts = itembll.GetModelList(" F_ItemType=" + (int)EnumItemType.deal + " and F_WoID=" + model.F_ID + " ");
if (itemlasts.Count > 0)
foreach (var it in itemlasts)