|
@ -442,7 +442,7 @@ public class PatientHealthIndexService extends BaseService {
|
|
|
obj.setDel("1");
|
|
|
Date time = currentTime;
|
|
|
if (map.containsKey("time")) {
|
|
|
time = DateUtil.strToDateLong(map.get("time"));
|
|
|
time = DateUtil.strToDate(map.get("time"));
|
|
|
}
|
|
|
obj.setRecordDate(time); //记录时间
|
|
|
obj.setSortDate(time); //排序时间
|
|
@ -565,8 +565,8 @@ public class PatientHealthIndexService extends BaseService {
|
|
|
} else {
|
|
|
// 排序
|
|
|
Sort sort = new Sort(Direction.ASC, "recordDate");
|
|
|
PageRequest pageRequest = new PageRequest(0, 100, sort);
|
|
|
re = patientHealthIndexDao.findIndexByPatient(patient, type, startDate, endDate, null).getContent();
|
|
|
PageRequest pageRequest = new PageRequest(0, 1000, sort);
|
|
|
re = patientHealthIndexDao.findIndexByPatient(patient, type, startDate, endDate, pageRequest).getContent();
|
|
|
}
|
|
|
return re;
|
|
|
}
|