|
@@ -87,7 +87,8 @@ func (this *EnglishCompanyController) List() {
|
|
|
}
|
|
|
|
|
|
if sellers != "" {
|
|
|
- cond += fmt.Sprintf(` AND c.seller_id IN (%s) `, utils.GetOrmInReplace(len(sellers)))
|
|
|
+ sellerIds := strings.Split(sellers, ",")
|
|
|
+ cond += fmt.Sprintf(` AND c.seller_id IN (%s) `, utils.GetOrmInReplace(len(sellerIds)))
|
|
|
pars = append(pars, sellers)
|
|
|
}
|
|
|
// 品种权限
|