package com.bonus.bracelet.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.common.core.web.page.TableDataInfo;
import com.bonus.common.entity.bracelet.BraceletParamsDto;
import com.bonus.common.entity.bracelet.vo.TeamPeopleVo;
import com.bonus.common.entity.bracelet.vo.TeamVo;

import java.util.List;

/**
 * @className:TeamMgeService
 * @author:cwchen
 * @date:2024-07-16-10:37
 * @version:1.0
 * @description:班组管理-service
 */
public interface ITeamMgeService {

    /**
     * 班组列表
     *
     * @param dto
     * @return List<TeamVo>
     * @author cwchen
     * @date 2024/7/16 10:58
     */
    List<TeamVo> getTeamLists(BraceletParamsDto dto);

    /**
     * 新增班组
     *
     * @param vo
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 14:38
     */
    AjaxResult addTeam(TeamVo vo);

    /**
     * 修改班组
     *
     * @param vo
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 14:55
     */
    AjaxResult editTeam(TeamVo vo);

    /**
     * 解散班组
     *
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 15:04
     */
    AjaxResult dissolutionTeam(BraceletParamsDto dto);

    /**
     * 删除班组
     *
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 15:38
     */
    AjaxResult delTeam(BraceletParamsDto dto);

    /**
     * 获取班组
     *
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 16:08
     */
    AjaxResult getPersonList(BraceletParamsDto dto);

    /**
     * 班组详情
     *
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/7/17 16:35
     */
    AjaxResult getTeamInfo(BraceletParamsDto dto);

    /**
     * @param dto
     * @return List<TeamPeopleVo>
     * @author cwchen
     * @date 2024/7/17 18:34
     */
    List<TeamPeopleVo> getWorkPersonList(BraceletParamsDto dto);
}
