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

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.architecture.domain.BizWithdrawalPeriodStandard;

/**
 * 休药期标准 Mapper
 */
public interface BizWithdrawalPeriodStandardMapper
{
    BizWithdrawalPeriodStandard selectBizWithdrawalPeriodStandardById(Long id);

    List<BizWithdrawalPeriodStandard> selectBizWithdrawalPeriodStandardList(BizWithdrawalPeriodStandard query);

    int insertBizWithdrawalPeriodStandard(BizWithdrawalPeriodStandard row);

    int updateBizWithdrawalPeriodStandard(BizWithdrawalPeriodStandard row);

    int deleteBizWithdrawalPeriodStandardById(Long id);

    int deleteBizWithdrawalPeriodStandardByIds(Long[] ids);

    int countByDrugNameExcludeId(@Param("drugName") String drugName, @Param("excludeId") Long excludeId);
}
