@ -134,9 +134,9 @@ public class PatientDeviceController extends BaseController {
throw new Exception("sn码" + newDeviceSN + "已被使用!");
}
if(!patientDeviceService.checkDeviceSn(newDeviceSN)){
return error(-1,"设备不存在");
// if(!patientDeviceService.checkDeviceSn(newDeviceSN)){
// return error(-1,"设备不存在");
// }
if ("1".equals(categoryCode)) {
// 先修改患者设备绑定表
@ -400,7 +400,6 @@ public class PatientHealthIndexService {
" GROUP BY user,value1,value2,value3,value4,value5,value6,value7,type,record_date,sort_date " +
" order by record_date,id desc ";
List<Map<String, Object>> list = jdbcTemplate.queryForList(sql);
SimpleDateFormat dateFormat6 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
if (list != null && list.size() > 0) {
obj.put("type", 1);
obj.put("czrq", dateString);