package com.bonus.gs.sub.evaluate.evaluate.dao;

import com.bonus.gs.sub.evaluate.evaluate.beans.TeamEvaluateBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className:TeamEvaluateDao
 * @author:cwchen
 * @date:2024-11-19-14:28
 * @version:1.0
 * @description:班组评价
 */
@Mapper
public interface TeamEvaluateDao {

    /**
     * 评价/审核/重新评价
     * @param bean
     * @return AjaxRes
     * @author cwchen
     * @date 2024/11/19 16:45
     */
    void evaluateData(TeamEvaluateBean bean);

    /**
     * 获取评价详情
     * @param bean
     * @return TeamEvaluateBean
     * @author cwchen
     * @date 2024/11/19 17:16
     */
    TeamEvaluateBean getEvaluateData(TeamEvaluateBean bean);

    /**
     * 获取班组评价列表
     * @param bean
     * @return List<TeamEvaluateBean>
     * @author cwchen
     * @date 2024/11/20 14:38
     */
    List<TeamEvaluateBean> getExportExcelData(@Param("param") TeamEvaluateBean bean);

    /**
     * 获取项目经理的手机号
     * @param bean
     * @return String
     * @author cwchen
     * @date 2024/11/29 18:25
     */
    String getSendPhone(TeamEvaluateBean bean);
    /**
     * 获取退场班组评价列表
     * @param o
     * @return List<TeamEvaluateBean>
     */
    List<TeamEvaluateBean> getTeamEvaluateList(TeamEvaluateBean o);
}
