瀏覽代碼

回退工单不算超时

duhongyu 4 年之前
父節點
當前提交
b69154ba78

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

73
             //    sql += " and isnull(UserCode,'')<>'' ";
73
             //    sql += " and isnull(UserCode,'')<>'' ";
74
             if (calltype.Trim() != "")
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
                 sql += " and CallType='" + calltype + "'";
82
                 sql += " and CallType='" + calltype + "'";
77
             }
83
             }
78
             if (tasktype.Trim() != "")
84
             if (tasktype.Trim() != "")

File diff suppressed because it is too large
+ 6 - 8
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs