|
@@ -112,7 +112,7 @@ func getQuerySql(req *types.ProjectListReq, isPage bool, buyerArr []string) (cou
|
|
|
querys = append(querys, fmt.Sprintf(" a.buyer_id in (%s) ", strings.Join(buyerArr, ",")))
|
|
|
}
|
|
|
// 商机类型
|
|
|
- if req.BusinessType != "" {
|
|
|
+ if req.BusinessType != "" && req.BusinessType != "全部" {
|
|
|
querys = append(querys, fmt.Sprintf(" a.business_type in ('%s') ", req.BusinessType))
|
|
|
}
|
|
|
if req.ProjectName != "" {
|