ziwen %!s(int64=2) %!d(string=hai) anos
pai
achega
f940453da0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)