|
@ -288,10 +288,10 @@ public class YkyyEntranceService {
|
|
|
}
|
|
|
String sql ="select * from VLIS_REPORT_MASTER where PATIENT_NO = 'XMYK"+patientMappingDO.getMappingCode()+"'";
|
|
|
if(StringUtils.isNoneBlank(startTime)){
|
|
|
sql+=" and REPORT_TIME >= to_date('"+startTime+"', 'YYYY-MM-DD HH24:MI:SS')";
|
|
|
sql+=" and REPORT_TIME >= '"+startTime.replace("-",".")+"'";
|
|
|
}
|
|
|
if(StringUtils.isNoneBlank(endTime)){
|
|
|
sql+=" and REPORT_TIME <= to_date('"+endTime+"', 'YYYY-MM-DD HH24:MI:SS')";
|
|
|
sql+=" and REPORT_TIME <= '"+endTime.replace("-",".")+"'";
|
|
|
}
|
|
|
sql+=" order by REPORT_TIME desc";
|
|
|
Map<String,Object> params = new HashedMap();
|