Browse Source

3547 待指派工单搜索创建人报错

lihai 5 years ago
parent
commit
604eb274de

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

@@ -94,11 +94,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
94 94
                     }
95 95
                     if (!string.IsNullOrEmpty(F_WorkNumber))
96 96
                     {
97
-                        sql += $"and F_CreateBy  in(" + createby + "," + F_WorkNumber + ") ";
97
+                        sql += $" and F_CreateBy  in('" + createby + "','" + F_WorkNumber + "') ";
98 98
                     }
99 99
                     else
100 100
                     {
101
-                        sql += $"and F_CreateBy  in(" + createby + ") ";
101
+                        sql += $" and F_CreateBy  in('" + createby + "') ";
102 102
                     }
103 103
 
104 104
                 }