4 天以前 5140e16bd1cb2bdf974d47a4342f9e27ef804655
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package cn.iocoder.yudao.module.mes.service.cal.plan;
 
import cn.iocoder.yudao.module.mes.controller.admin.cal.plan.vo.team.MesCalPlanTeamSaveReqVO;
import cn.iocoder.yudao.module.mes.dal.dataobject.cal.plan.MesCalPlanTeamDO;
import jakarta.validation.Valid;
 
import java.util.List;
 
/**
 * MES 计划班组关联 Service 接口
 *
 * @author 芋道源码
 */
public interface MesCalPlanTeamService {
 
    /**
     * 创建计划班组关联
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createPlanTeam(@Valid MesCalPlanTeamSaveReqVO createReqVO);
 
    /**
     * 删除计划班组关联
     *
     * @param id 编号
     */
    void deletePlanTeam(Long id);
 
    /**
     * 获得指定排班计划的班组列表
     *
     * @param planId 排班计划编号
     * @return 班组关联列表
     */
    List<MesCalPlanTeamDO> getPlanTeamListByPlanId(Long planId);
 
    /**
     * 获得指定排班计划的班组数量
     *
     * @param planId 排班计划编号
     * @return 班组数量
     */
    Long getPlanTeamCountByPlanId(Long planId);
 
    /**
     * 根据排班计划编号删除所有班组关联
     *
     * @param planId 排班计划编号
     */
    void deleteByPlanId(Long planId);
 
}