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

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.IsolationPenOptionVo;

/**
 * 隔离巡查登记 Mapper
 */
public interface BizIsolationPatrolMapper
{
    BizIsolationPatrol selectBizIsolationPatrolById(Long id);

    BizIsolationPatrol selectBizIsolationPatrolByIdAny(Long id);

    List<BizIsolationPatrol> selectBizIsolationPatrolList(BizIsolationPatrol query);

    int insertBizIsolationPatrol(BizIsolationPatrol row);

    int updateBizIsolationPatrol(BizIsolationPatrol row);

    int logicDeleteBizIsolationPatrolByIds(@Param("ids") Long[] ids, @Param("updateBy") String updateBy);

    List<IsolationPenOptionVo> selectInStockPenOptions();

    int countPenInStock(@Param("penId") Long penId);

    List<String> selectAllocEarTagRowsForPen(@Param("penId") Long penId);

    List<String> selectSickDeadEarTagRows();
}
