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

/**
 * 有无畜户数据填报服务。
 */
public interface IBizLivestockOwnershipHouseholdService
{
    BizLivestockOwnershipHousehold selectBizLivestockOwnershipHouseholdById(Long id);

    List<BizLivestockOwnershipHousehold> selectBizLivestockOwnershipHouseholdList(
            BizLivestockOwnershipHousehold query);

    int insertBizLivestockOwnershipHousehold(BizLivestockOwnershipHousehold row);

    int updateBizLivestockOwnershipHousehold(BizLivestockOwnershipHousehold row);

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

    LivestockOwnershipHouseholdImportResultVo 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, String fillerName);
}
