소스 검색

代码修改

liubing 3 년 전
부모
커밋
80eef740b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/device/PatientDeviceService.java

+ 1 - 1
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/device/PatientDeviceService.java

@ -1169,7 +1169,7 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
            sql += " and device_sn='"+deviceSn+"' ";
            sql += " and device_sn='"+deviceSn+"' ";
        }
        }
        if (StringUtils.isNotBlank(day)){
        if (StringUtils.isNotBlank(day)){
            sql +=" and create_time>="+day+" 00:00:00 and create_time<'"+day+"' 23:59:59 ";
            sql +=" and create_time>='"+day+" 00:00:00' and create_time<'"+day+" 23:59:59' ";
        }else   {
        }else   {
            sql +=" order by create_time desc ";
            sql +=" order by create_time desc ";
        }
        }