ziwen 2 tahun lalu
induk
melakukan
f940453da0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)