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
package jnpf.flowable.service.impl;
 
import jnpf.base.service.SuperServiceImpl;
import jnpf.flowable.entity.RevokeEntity;
import jnpf.flowable.entity.TaskLineEntity;
import jnpf.flowable.mapper.RevokeMapper;
import jnpf.flowable.mapper.TaskLineMapper;
import jnpf.flowable.service.TaskLineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
import java.util.Map;
 
/**
 * 类的描述
 *
 * @author JNPF@YinMai Info. Co., Ltd
 * @version 5.0.x
 * @since 2024/8/23 17:37
 */
@Service
public class TaskLineServiceImpl extends SuperServiceImpl<TaskLineMapper, TaskLineEntity> implements TaskLineService {
    @Autowired
    private RevokeMapper revokeMapper;
 
    @Override
    public List<TaskLineEntity> getList(String taskId) {
        return this.getList(taskId);
    }
 
    @Override
    public void create(String taskId, Map<String, Boolean> conditionResMap) {
        this.baseMapper.create(taskId, conditionResMap);
    }
 
    @Override
    public List<String> getLineKeyList(String taskId) {
        RevokeEntity revokeEntity = revokeMapper.getRevokeTask(taskId);
        if (null != revokeEntity) {
            taskId = revokeEntity.getTaskId();
        }
        return this.baseMapper.getLineKeyList(taskId);
    }
}