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.BizFarmerHousehold;
import com.ruoyi.web.modules.industryservice.domain.vo.FarmerHouseholdImportResultVo;

/**
 * 农牧户数据填报服务
 */
public interface IBizFarmerHouseholdService
{
    BizFarmerHousehold selectBizFarmerHouseholdById(Long id);

    List<BizFarmerHousehold> selectBizFarmerHouseholdList(BizFarmerHousehold query);

    int insertBizFarmerHousehold(BizFarmerHousehold row);

    int updateBizFarmerHousehold(BizFarmerHousehold row);

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

    FarmerHouseholdImportResultVo 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);
}
