Jianghan 1 년 전
부모
커밋
3523644621
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/internal/service/plistService.go

+ 1 - 1
api/internal/service/plistService.go

@@ -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 != "" {