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

/**
 * 家庭牧场数据填报服务
 */
public interface IBizFamilyRanchService
{
    BizFamilyRanch selectBizFamilyRanchById(Long id);

    List<BizFamilyRanch> selectBizFamilyRanchList(BizFamilyRanch query);

    int insertBizFamilyRanch(BizFamilyRanch row);

    int updateBizFamilyRanch(BizFamilyRanch row);

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

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