package com.dgtly.system.service;

import com.dgtly.system.domain.OrderTucEarlyWarning;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 预警业绩进度指标Service接口
 * 
 * @author njs
 * @date 2024-02-04
 */
public interface IOrderTucEarlyWarningService 
{
    /**
     * 查询预警业绩进度指标
     * 
     * @param earlyId 预警业绩进度指标ID
     * @return 预警业绩进度指标
     */
    public OrderTucEarlyWarning selectOrderTucEarlyWarningById(Long earlyId);

    /**
     * 查询预警业绩进度指标列表
     * 
     * @param orderTucEarlyWarning 预警业绩进度指标
     * @return 预警业绩进度指标集合
     */
    public List<OrderTucEarlyWarning> selectOrderTucEarlyWarningList(OrderTucEarlyWarning orderTucEarlyWarning);

    /**
     * 新增预警业绩进度指标
     * 
     * @param orderTucEarlyWarning 预警业绩进度指标
     * @return 结果
     */
    public int insertOrderTucEarlyWarning(OrderTucEarlyWarning orderTucEarlyWarning);

    /**
     * 修改预警业绩进度指标
     * 
     * @param orderTucEarlyWarning 预警业绩进度指标
     * @return 结果
     */
    public int updateOrderTucEarlyWarning(OrderTucEarlyWarning orderTucEarlyWarning);

    /**
     * 批量删除预警业绩进度指标
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderTucEarlyWarningByIds(String ids);

    /**
     * 删除预警业绩进度指标信息
     * 
     * @param earlyId 预警业绩进度指标ID
     * @return 结果
     */
    public int deleteOrderTucEarlyWarningById(Long earlyId);
    
    /**
     * @description: 根据组织编码查业绩指标
     * @param: [orgCode]
     * @return: com.dgtly.system.domain.OrderTucEarlyWarning
     * @author: njs     
     * @date: 2024/2/4 9:53
     */
    public OrderTucEarlyWarning selectOrderTucEarlyWarning(@Param("orgCode") String orgCode);
}
