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

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

/**
 * 畜牧产品产量登记 Mapper
 */
public interface BizLivestockProductOutputMapper
{
    BizLivestockProductOutput selectBizLivestockProductOutputById(Long id);

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

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

    List<BizLivestockProductOutput> selectBizLivestockProductOutputList(BizLivestockProductOutput query);

    int insertBizLivestockProductOutput(BizLivestockProductOutput row);

    int updateBizLivestockProductOutput(BizLivestockProductOutput row);

    int deleteBizLivestockProductOutputByIds(@Param("ids") Long[] ids);
}
