ziwen 2 лет назад
Родитель
Сommit
f940453da0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/crm/company_seller.go

+ 1 - 1
services/crm/company_seller.go

@@ -66,7 +66,7 @@ func GetSellerDepartmentListWithGroupAndTeam() (sellerList []*crm.SellerAdminWit
 // GetSellerTeamGroupMap 获取销售组别对应的大组信息
 func GetSellerTeamGroupMap() (teamGroupMap map[int]*crm.SysGroup, err error) {
 	teamGroupMap = make(map[int]*crm.SysGroup)
-	groupCond := `department_id IN (?)`
+	groupCond := `department_id IN (?,?)`
 	groupPars := make([]interface{}, 0)
 	groupPars = append(groupPars, crm.SellerDepartmentId, crm.RaiSellerDepartmentId)
 	groupOB := new(crm.SysGroup)