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

/**
 * 畜牧产品产量登记服务
 */
public interface IBizLivestockProductOutputService
{
    BizLivestockProductOutput selectBizLivestockProductOutputById(Long id);

    List<BizLivestockProductOutput> selectBizLivestockProductOutputList(BizLivestockProductOutput query);

    int insertBizLivestockProductOutput(BizLivestockProductOutput row);

    int updateBizLivestockProductOutput(BizLivestockProductOutput row);

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

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