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

import java.util.List;
import org.springframework.web.multipart.MultipartFile;
import com.ruoyi.common.core.domain.TreeSelect;
import com.ruoyi.web.modules.industryservice.domain.BizYakOutboundReport;
import com.ruoyi.web.modules.industryservice.domain.vo.YakOutboundReportImportResultVo;

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

    List<BizYakOutboundReport> selectBizYakOutboundReportList(BizYakOutboundReport query);

    int insertBizYakOutboundReport(BizYakOutboundReport row);

    int updateBizYakOutboundReport(BizYakOutboundReport row);

    int deleteBizYakOutboundReportByIds(Long[] ids, String updateBy);

    YakOutboundReportImportResultVo importData(MultipartFile file, Integer statYear, Integer statMonth, String username);

    List<Integer> listYearOptions();

    List<Integer> listMonthOptions();

    List<java.util.Map<String, Object>> listTownOptions();

    List<TreeSelect> listVillageTree();

    byte[] exportByYearMonth(Integer statYear, Integer statMonth, Long townDeptId);

    byte[] exportByYearMonth(Integer statYear, Integer statMonth, Long townDeptId, String fillerName);
}
