|
@ -217,7 +217,7 @@ public class ConcernService extends BaseService {
|
|
" p.`code`=c.patient and " +
|
|
" p.`code`=c.patient and " +
|
|
" c.concern_doctor_code= '"+doctorCode+"'and" +
|
|
" c.concern_doctor_code= '"+doctorCode+"'and" +
|
|
" c.`status`=1 " +
|
|
" c.`status`=1 " +
|
|
" order by concern_create_time desc limit "+page+","+pageSize;
|
|
|
|
|
|
" order by concern_create_time desc limit "+(page*pageSize)+","+pageSize;
|
|
|
|
|
|
List<Patient> patients = (List<Patient>) jdbcTemplate.query(sql,new BeanPropertyRowMapper(Patient.class));
|
|
List<Patient> patients = (List<Patient>) jdbcTemplate.query(sql,new BeanPropertyRowMapper(Patient.class));
|
|
return patients;
|
|
return patients;
|