package com.ruoyi.web.modules.trading.mapper;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.trading.domain.BizIsolationPatrol;
import com.ruoyi.web.modules.trading.domain.vo.AppDistributorEntryIsolationVo;

/**
 * 承销商小程序牦牛入场/巡查查询 Mapper。
 */
public interface AppDistributorYakMapper
{
    AppDistributorEntryIsolationVo selectEntryBySupplierAndEarTag(
            @Param("supplierId") Long supplierId,
            @Param("earTag") String earTag);

    List<BizIsolationPatrol> selectPatrolsDuringEntryIsolation(
            @Param("entryId") Long entryId,
            @Param("entryTime") Date entryTime,
            @Param("releaseEnd") Date releaseEnd);
}
