|
|
@@ -50,7 +50,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
string condition = "";
|
|
|
if (!string.IsNullOrEmpty(data["MerchantName"].ToString()))
|
|
|
{
|
|
|
- var merAddInfo = MerchantAddInfoService.Query(" and CertMerchantName like '%" + MerchantName + "%'");
|
|
|
+ var merAddInfo = MerchantAddInfoService.Query(" and (QueryCount=2 or Status=2) and CertMerchantName like '%" + MerchantName + "%'");
|
|
|
condition += " and MerchantId='" + merAddInfo.Id + "'";
|
|
|
}
|
|
|
if (!string.IsNullOrEmpty(data["MakerCode"].ToString()))
|