mengjie 5 vuotta sitten
vanhempi
commit
18ec9e7c83

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

335
             if (input.F_CustomerId <= 0)
335
             if (input.F_CustomerId <= 0)
336
                 return Error("参数错误!");
336
                 return Error("参数错误!");
337
             int b = 0;
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
                 if (b > 0)
340
                 if (b > 0)
341
                 {
341
                 {