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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package jnpf.flowable.service.impl;
 
import jnpf.base.service.SuperServiceImpl;
import jnpf.exception.WorkFlowException;
import jnpf.flowable.entity.TemplateJsonEntity;
import jnpf.flowable.entity.TemplateNodeEntity;
import jnpf.flowable.mapper.TemplateJsonMapper;
import jnpf.flowable.mapper.TemplateNodeMapper;
import jnpf.flowable.service.TemplateNodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
@Service
public class TemplateNodeServiceImpl extends SuperServiceImpl<TemplateNodeMapper, TemplateNodeEntity> implements TemplateNodeService {
 
    @Autowired
    private TemplateJsonMapper templateJsonMapper;
 
    @Override
    public List<TemplateNodeEntity> getList(String flowId) {
        return this.baseMapper.getList(flowId);
    }
 
    @Override
    public List<TemplateNodeEntity> getList(List<String> flowIds, String nodeType) {
        return this.baseMapper.getList(flowIds, nodeType);
    }
 
    @Override
    public List<TemplateNodeEntity> getListLikeUserId(String userId) {
        return this.baseMapper.getListLikeUserId(userId);
    }
 
    @Override
    public TemplateNodeEntity getInfo(String id) throws WorkFlowException {
        return this.baseMapper.getInfo(id);
    }
 
    @Override
    public void create(TemplateNodeEntity entity) {
        this.baseMapper.create(entity);
    }
 
    @Override
    public boolean update(String id, TemplateNodeEntity entity) {
        return this.baseMapper.update(id, entity);
    }
 
    @Override
    public void delete(TemplateNodeEntity entity) {
        this.baseMapper.delete(entity);
    }
 
    @Override
    public void deleteList(List<String> idList) {
        this.baseMapper.deleteList(idList);
    }
 
    @Override
    public void delete(List<String> idList) {
        this.baseMapper.delete(idList);
    }
 
    @Override
    public List<TemplateNodeEntity> getListStart() {
        List<TemplateJsonEntity> listOfEnable = templateJsonMapper.getListOfEnable();
        return this.baseMapper.getListStart(listOfEnable);
    }
}