@@ -395,7 +395,7 @@ func (this *Customer) GetDeptCustomerList(dept_id, ent_id int, name, alloc, staf
OR ( a.pid = ? AND a.id = b.dept_id ))
INNER JOIN entniche_user c ON ( c.ent_id = ? AND b.user_id = c.id )
) b ON ( a.user_id = b.id )
- WHERE ` + searchSql + ` limit 100000) as a
+ WHERE ` + searchSql + ` desc limit ?,? ) as a
LEFT JOIN entniche_customer b ON ( a.customer_id = b.id )
AND b.ent_id = 14640
AND b.state = 1