|
@@ -196,6 +196,11 @@ 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");
|
|
|
+ if (check.Id > 0)
|
|
|
+ {
|
|
|
+ return new AppResultJson() { Status = "-1", Info = "该商户已暂存或进件,忽重复进件!", Data = Obj };
|
|
|
+ }
|
|
|
CertMerchantName += function.get_Random(00000000, 99999999);
|
|
|
}
|
|
|
var query = MerchantAddInfoService.Query(" CertMerchantName='" + CertMerchantName + "'");
|