|
@ -69,7 +69,7 @@ public class ManageRangeService extends BaseJpaService<Doctor, DoctorDao> {
|
|
|
} else if (StringUtils.isNotEmpty(name) && StringUtils.isEmpty(idcard)) {
|
|
|
sql += " AND p.name = '" + name+"' ";
|
|
|
}
|
|
|
sql += " ORDER BY p.id ASC limit " +(page-1) +", " + pageSize;
|
|
|
sql += " ORDER BY p.id ASC limit " +((page-1)*pageSize) +", " + pageSize;
|
|
|
userList = jdbcTemplate.query(sql,new BeanPropertyRowMapper<>(Doctor.class));
|
|
|
|
|
|
return userList;
|