|
@@ -58,6 +58,7 @@ func (this *EnglishCompanyController) List() {
|
|
|
sortType, _ := this.GetInt("SortType", 0)
|
|
|
sortParam := this.GetString("SortParam", "")
|
|
|
strPermissionIds := this.GetString("EnPermissionIds", "")
|
|
|
+ sellers := this.GetString("Sellers", "")
|
|
|
|
|
|
var cond, order string
|
|
|
var pars []interface{}
|
|
@@ -84,6 +85,12 @@ func (this *EnglishCompanyController) List() {
|
|
|
cond += fmt.Sprintf(` AND c.company_id IN (%s) `, utils.GetOrmInReplace(len(companyIds)))
|
|
|
pars = append(pars, companyIds)
|
|
|
}
|
|
|
+
|
|
|
+ if sellers != "" {
|
|
|
+ sellerIds := strings.Split(sellers, ",")
|
|
|
+ cond += fmt.Sprintf(` AND c.seller_id IN (%s) `, utils.GetOrmInReplace(len(sellerIds)))
|
|
|
+ pars = append(pars, sellerIds)
|
|
|
+ }
|
|
|
// 品种权限
|
|
|
if strPermissionIds != "" {
|
|
|
permissionIdArr := strings.Split(strPermissionIds, ",")
|