mengjie il y a 5 ans
Parent
commit
18ec9e7c83

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/customer/CustomerNewController.cs

@@ -335,7 +335,7 @@ namespace CallCenterApi.Interface.Controllers.customer
335 335
             if (input.F_CustomerId <= 0)
336 336
                 return Error("参数错误!");
337 337
             int b = 0;
338
-            if (getunique(0, input.F_CustomerCode, input.F_CompanyName, out b))
338
+            if (getunique(input.F_CustomerId, input.F_CustomerCode, input.F_CompanyName, out b))
339 339
             {
340 340
                 if (b > 0)
341 341
                 {