Stringlimit=" ORDER BY su.createdTime DESC limit "+(search.getPage()-1)*search.getSize()+","+search.getSize();
Stringlimit=" ORDER BY su.createdTime DESC limit "+(search.getPage()-1)*search.getSize()+","+search.getSize();
StringBufferquerySql=newStringBuffer("from UserEntity su left join UserRoleEntity sur on su.id =sur.userId left JOIN RoleEntity sr on sr.id =sur.roleId where 1=1 ");
StringBufferquerySql=newStringBuffer("from UserEntity su left join UserRoleEntity sur on su.id =sur.userId left JOIN RoleEntity sr on sr.id =sur.roleId where 1=1 ");