eight
2024-08-29 4156037feb8e52df855c3c57b735134b5ed1ccfe
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java
@@ -3,7 +3,6 @@
import cn.lihu.jh.framework.common.exception.ErrorCode;
import cn.lihu.jh.framework.security.core.util.SecurityFrameworkUtils;
import cn.lihu.jh.module.ecg.controller.admin.room.vo.RoomRespVO;
import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomResVO;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -40,7 +39,7 @@
@RestController
@RequestMapping("/ecg/queue")
@Validated
public class queueController {
public class QueueController {
    @Resource
    private QueueService queueService;
@@ -190,7 +189,7 @@
        ErrorCode result = queueService.startBedDoctorOff(roomId, bedNo, userId, userNickname);
        if (result.equals(SUCCESS))
            return success(0);
            return success(SUCCESS.getCode());
        return error(result);
    }