Stringlimit=" ORDER BY su.CREATED_TIME DESC limit "+(search.getPage()-1)*search.getSize()+","+search.getSize();
StringBufferquerySql=newStringBuffer("from sys_user su left join sys_user_role sur on su.id =sur.user_id left JOIN sys_role sr on sr.id =sur.role_id where 1=1 ");
StringBufferquerySql=newStringBuffer("from sys_user su left join sys_user_role sur on su.id =sur.user_id left JOIN sys_role sr on sr.id =sur.role_id left join sys_user_org suo on su.id=suo.user_id where 1=1 ");
querySql.append("and (su.engineer_code LIKE '%"+search.getQueryString()+"%' or su.nickname like '%"+search.getQueryString()+"%' or su.phone like '%"+search.getQueryString()+"%' or su.email like '%"+search.getQueryString()+"%' )");