xuzhiheng 1 ano atrás
pai
commit
228c559fd6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      service/company.go

+ 1 - 1
service/company.go

@@ -39,7 +39,7 @@ func CompanyType(companyName string) (bool, bool) {
 		isGroup = true
 	}
 	//是否在工商库
-	if c := MgoQyxy.Count("qyxy_std", map[string]interface{}{"company_name": companyName, "company_type": map[string]interface{}{"$ne": "个体工商"}}); c > 0 {
+	if c := MgoQyxy.Count("qyxy_std", map[string]interface{}{"company_name": companyName, "company_type": map[string]interface{}{"$ne": "个体工商"}}); c > 0 {
 		isCommerce = true
 	}
 	return isGroup, isCommerce