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

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

/**
 * 牦牛出栏数据填报 Mapper
 */
public interface BizYakOutboundReportMapper
{
    BizYakOutboundReport selectBizYakOutboundReportById(Long id);

    int countByYearMonthAndVillageExcludeId(@Param("statYear") Integer statYear,
            @Param("statMonth") Integer statMonth, @Param("villageDeptId") Long villageDeptId,
            @Param("excludeId") Long excludeId);

    BizYakOutboundReport selectByYearMonthAndVillage(@Param("statYear") Integer statYear,
            @Param("statMonth") Integer statMonth, @Param("villageDeptId") Long villageDeptId);

    List<BizYakOutboundReport> selectBizYakOutboundReportList(BizYakOutboundReport query);

    int insertBizYakOutboundReport(BizYakOutboundReport row);

    int updateBizYakOutboundReport(BizYakOutboundReport row);

    int deleteBizYakOutboundReportByIds(@Param("ids") Long[] ids);

    int deleteByYearMonth(@Param("statYear") Integer statYear, @Param("statMonth") Integer statMonth);
}
