|
@@ -307,9 +307,9 @@ func (c *ContractCommon) CompanyListBySeal() {
|
|
|
{
|
|
|
// 通过关键词获取分配给当前销售的正式共享客户
|
|
|
kw := fmt.Sprint("%", keyword, "%")
|
|
|
- cond := ` AND share_seller_id = ? AND is_share = 1 AND company_name LIKE ?`
|
|
|
+ cond := ` AND company_name LIKE ?`
|
|
|
pars := make([]interface{}, 0)
|
|
|
- pars = append(pars, sysUser.AdminId, kw)
|
|
|
+ pars = append(pars, kw)
|
|
|
shares, e := models.GetCompanyListByCondition(cond, pars, []string{"company_id", "company_name"}, "")
|
|
|
if e != nil {
|
|
|
c.FailWithMessage("获取失败", "获取共享客户信息失败, Err: "+e.Error())
|