package com.wms_main.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wms_main.model.po.TAppAgvLock;

import java.util.List;

/**
 * AGV互锁表数据访问接口
 */
public interface ITAppAgvLockService extends IService<TAppAgvLock> {

    /**
     * 根据AGV和站点查询锁定记录
     */
    List<TAppAgvLock> getByAgvAndStation(String agvId, String feedStation);

    /**
     * 根据站点查询所有锁定记录
     */
    List<TAppAgvLock> getByStation(String feedStation);

    /**
     * 查询超时的锁定记录
     */
    List<TAppAgvLock> getTimeoutLocks();
}