自动化立体仓库 - WMS系统
zwl
1 天以前 6e18b1e086f202512eeb9aa988a8b9026cfccec3
src/main/java/com/zy/api/controller/HmesApiController.java
@@ -18,6 +18,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.Objects;
@@ -79,16 +80,30 @@
    }
    /**
     * 解冻所有机台工位
     * @author Ryan
     * @date 2026/3/28 20:45
     * @return com.core.common.R
     */
//    @ManagerAuth
    @ApiOperation("解冻所有机台工位")
    @PostMapping("/work/release/lock/all")
    public R releaseAllLocks() {
        return hmesApiService.releaseAllLocks();
    }
    /**
     * 获取机台及对应工位冻结情况
     * @author Ryan
     * @date 2026/3/20 11:06
     * @param devNo 机台号,不传则查询全部
     * @return com.core.common.R
     */
//    @ManagerAuth
    @ApiOperation("获取机台及对应工位冻结情况")
    @GetMapping("/work/freeze/status")
    public R getDeviceFreezeStatus() {
        return hmesApiService.getDeviceFreezeStatus();
    public R getDeviceFreezeStatus(@RequestParam(required = false) String devNo) {
        return hmesApiService.getDeviceFreezeStatus(devNo);
    }
    /**