Przeglądaj źródła

回退工单不算超时

duhongyu 4 lat temu
rodzic
commit
b69154ba78

+ 6 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/CallrecordsController.cs

@@ -73,6 +73,12 @@ namespace CallCenterApi.Interface.Controllers.tel
73 73
             //    sql += " and isnull(UserCode,'')<>'' ";
74 74
             if (calltype.Trim() != "")
75 75
             {
76
+                if (calltype=="3")
77
+                {
78
+                    sql += " and CallType='1'";
79
+                    sql += " and CallId in(select F_CallRecordId from T_Bus_VisitResult where F_CallRecordId !='' and F_CallRecordId is not null )";
80
+                }
81
+                else 
76 82
                 sql += " and CallType='" + calltype + "'";
77 83
             }
78 84
             if (tasktype.Trim() != "")

Plik diff jest za duży
+ 6 - 8
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs