Ver Código Fonte

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

lihai 5 anos atrás
pai
commit
604eb274de

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

94
                     }
94
                     }
95
                     if (!string.IsNullOrEmpty(F_WorkNumber))
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
                     else
99
                     else
100
                     {
100
                     {
101
-                        sql += $"and F_CreateBy  in(" + createby + ") ";
101
+                        sql += $" and F_CreateBy  in('" + createby + "') ";
102
                     }
102
                     }
103
 
103
 
104
                 }
104
                 }