Browse Source

商户进件去重添加银联BrandId区分

DuGuYang 6 months ago
parent
commit
1a6f488c8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs

+ 1 - 1
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -205,7 +205,7 @@ namespace MySystem.Areas.Api.Controllers.v1
                 if (SubjectType == "SUBJECT_TYPE_SMALL")
                 {
                     // CertMerchantName += function.MD5_16(Guid.NewGuid().ToString("N"));
-                    var check = MerchantAddInfoService.Query(" CertMerchantName like '" + CertMerchantName + "%' and Status<1 and QueryCount<1");
+                    var check = MerchantAddInfoService.Query(" CertMerchantName like '" + CertMerchantName + "%' and Status<1 and QueryCount<1 and BrandId=" + BrandId);
                     if (check.Id > 0)
                     {
                         return new AppResultJson() { Status = "-1", Info = "该商户已暂存或进件,勿重复进件!", Data = Obj };