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

import java.util.List;
import com.ruoyi.web.modules.industryservice.domain.BizYakHerdInventory;
import com.ruoyi.web.modules.industryservice.domain.vo.YakHerdInventoryImportResultVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * 牦牛存栏数据填报服务
 */
public interface IBizYakHerdInventoryService
{
    BizYakHerdInventory selectBizYakHerdInventoryById(Long id);

    List<BizYakHerdInventory> selectBizYakHerdInventoryList(BizYakHerdInventory query);

    int insertBizYakHerdInventory(BizYakHerdInventory row);

    int updateBizYakHerdInventory(BizYakHerdInventory row);

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

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

    List<Integer> listYearOptions();

    List<Integer> listMonthOptions();

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

    List<com.ruoyi.common.core.domain.TreeSelect> listVillageTree();

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

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