ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
55
package jnpf.flowable.service.impl;
 
import jnpf.base.service.SuperServiceImpl;
import jnpf.flowable.entity.LaunchUserEntity;
import jnpf.flowable.mapper.LaunchUserMapper;
import jnpf.flowable.service.LaunchUserService;
import jnpf.flowable.util.FlowUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * 类的描述
 *
 * @author JNPF@YinMai Info. Co., Ltd
 * @version 5.0.x
 * @since 2024/4/18 9:46
 */
@Service
public class LaunchUserServiceImpl extends SuperServiceImpl<LaunchUserMapper, LaunchUserEntity> implements LaunchUserService {
 
    @Autowired
    private FlowUtil flowUtil;
 
    @Override
    public LaunchUserEntity getInfoByTask(String taskId) {
        return this.baseMapper.getInfoByTask(taskId);
    }
 
    @Override
    public List<LaunchUserEntity> getTaskList(String taskId) {
        return this.baseMapper.getTaskList(taskId);
    }
 
    @Override
    public void createLaunchUser(String taskId, String userId) {
        flowUtil.createLaunchUser(taskId, userId);
    }
 
    @Override
    public void delete(String taskId) {
        this.baseMapper.delete(taskId);
    }
 
    @Override
    public void delete(String taskId, List<String> nodeCode) {
        this.baseMapper.delete(taskId, nodeCode);
    }
 
    @Override
    public void deleteStepUser(String taskId) {
        this.baseMapper.deleteStepUser(taskId);
    }
}