|
@ -220,10 +220,10 @@ public class YkyyEntranceService {
|
|
|
}
|
|
|
String sql ="select * from VLIS_REPORT_MASTER where PATIENT_ID = '"+patientMappingDO.getMappingCode()+"'";
|
|
|
if(StringUtils.isNoneBlank(startTime)){
|
|
|
sql+=" and to_char(REPORT_TIME,'yyyy-mm-dd hh24:mi:ss') >= '"+startTime+"' ";
|
|
|
sql+=" and REPORT_TIME >= '"+startTime.replace("-",".")+"' ";
|
|
|
}
|
|
|
if(StringUtils.isNoneBlank(endTime)){
|
|
|
sql+=" and to_char(REPORT_TIME,'yyyy-mm-dd hh24:mi:ss') >= '"+endTime+"' ";
|
|
|
sql+=" and REPORT_TIME <= '"+endTime.replace("-",".")+"' ";
|
|
|
}
|
|
|
sql+=" order by REPORT_TIME desc";
|
|
|
Map<String,Object> params = new HashedMap();
|