|
@ -223,7 +223,7 @@ public class PatientRecordService {
|
|
|
String sql = "select a.*,b.img_type as catalog,GROUP_CONCAT(b.img_label) as label \n" +
|
|
|
"from wlyy_patient_event a,wlyy_patient_event_img b\n" +
|
|
|
"where a.patient='" + patientCode + "' and b.event_id=a.id and b.img_type in ('检查报告','检验报告') \n" +
|
|
|
"group by b.event_id,b.img_type order by a.event_date desc limit " + pageInt * pageSizeInt + "," + pageSize;
|
|
|
"group by b.event_id,b.img_type order by a.event_date desc";
|
|
|
|
|
|
List<Map<String, Object>> appList = jdbcTemplate.queryForList(sql);
|
|
|
|