LAPTOP-KB9HII50\70708 1 éve
szülő
commit
bc568c51b6

+ 3 - 3
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/health/controller/PatientDeviceController.java

@ -291,9 +291,9 @@ public class PatientDeviceController extends BaseController {
                                @ApiParam(name = "device_sn", value = "设备SN码", defaultValue = "15L000002")
                                @RequestParam(value = "device_sn", required = true) String deviceSn) {
        try {
            if (!"11".equals(type)&&deviceDetailService.findByDeviceSn(deviceSn)==null){
                return write(-1,"设备不存在!");
            }
//            if (!"11".equals(type)&&deviceDetailService.findByDeviceSn(deviceSn)==null){
//                return write(-1,"设备不存在!");
//            }
            List<Map<String, String>> list = patientDeviceService.getDeviceUser(getRepUID(), deviceSn, type);
            return write(200, "获取设备绑定信息成功!", "data", list);
        } catch (Exception ex) {