|
@@ -1364,8 +1364,10 @@ func GetCompanyType(companyName string) (int, int) {
|
|
isGroup = 1
|
|
isGroup = 1
|
|
}
|
|
}
|
|
//是否在工商库
|
|
//是否在工商库
|
|
- if c := MgoQyxy.Count("qyxy_std", map[string]interface{}{"company_name": companyName, "company_type": map[string]interface{}{"$ne": "个体工商户"}}); c > 0 {
|
|
|
|
- isCommerce = 1
|
|
|
|
|
|
+ if companyName != "" {
|
|
|
|
+ if c := MgoQyxy.Count("qyxy_std", map[string]interface{}{"company_name": companyName, "company_type": map[string]interface{}{"$ne": "个体工商户"}}); c > 0 {
|
|
|
|
+ isCommerce = 1
|
|
|
|
+ }
|
|
}
|
|
}
|
|
return isGroup, isCommerce
|
|
return isGroup, isCommerce
|
|
}
|
|
}
|