package com.yunfeiyun.agmp.fms.mapper;

import com.yunfeiyun.agmp.fms.domain.TssSourceEnvironment;
import com.yunfeiyun.agmp.fms.domain.TssSourceperiod;
import com.yunfeiyun.agmp.fms.domain.dto.TssSourceperiodDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 溯源生长环境Mapper接口
 *
 */
public interface TssSourceEnvironmentMapper {
    /**
     * 新增溯源生长环境
     * 
     * @param tssSourceEnvironments 新增溯源生长环境
     * @return 结果
     */
    public int insertTssSourceEnvironmentBatch(List<TssSourceEnvironment> tssSourceEnvironments);

    /**
     * 查询溯源生长环境列表
     *
     * @param tssSourceEnvironments 溯源生长环境
     * @return 溯源生长环境集合
     */
    public List<TssSourceEnvironment> selectTssSourceEnvironmentList(TssSourceEnvironment tssSourceEnvironments);

    /**
     * 删除溯源生长环境
     * @param sourceinfoId
     * @return
     */
    public int deleteTssSourceEnvironmentBySourceinfoId(String sourceinfoId);
}
