ny
23 小时以前 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package jnpf.flowable.fallback;
 
import jnpf.base.ActionResult;
import jnpf.flowable.WorkFlowApi;
import jnpf.flowable.entity.RecordEntity;
import jnpf.flowable.entity.TaskEntity;
import jnpf.flowable.entity.TemplateJsonEntity;
import jnpf.flowable.model.task.FileModel;
import org.springframework.stereotype.Component;
 
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
/**
 * 类的描述
 *
 * @author JNPF@YinMai Info. Co., Ltd
 * @version 5.0.x
 * @since 2024/7/26 16:29
 */
@Component
public class WorkFlowApiFallback implements WorkFlowApi {
    @Override
    public FileModel getFileModel(String taskId) {
        return new FileModel();
    }
 
    @Override
    public TaskEntity getInfoSubmit(String id) {
        return null;
    }
 
    @Override
    public List<TaskEntity> getInfosSubmit(String[] ids) {
        return new ArrayList<>();
    }
 
    @Override
    public ActionResult delete(TaskEntity taskEntity) {
        return ActionResult.fail("");
    }
 
    @Override
    public List<RecordEntity> getRecordList(String taskId) {
        return new ArrayList<>();
    }
 
    @Override
    public List<String> getFlowIdsByTemplateId(String templateId) {
        return new ArrayList<>();
    }
 
    @Override
    public String getTemplateByVersionId(String flowId) {
        return "";
    }
 
    @Override
    public List<TemplateJsonEntity> getFlowIdsByTemplate(String templateId) {
        return new ArrayList<>();
    }
 
    @Override
    public List<String> getFormList() {
        return new ArrayList<>();
    }
 
    @Override
    public List<String> getStepList() {
        return new ArrayList<>();
    }
 
    @Override
    public Map<String, String> getFlowFormMap() {
        return new HashMap<>();
    }
 
    @Override
    public void updateIsFile(String taskId) {
 
    }
 
    @Override
    public Boolean checkSign() {
        return false;
    }
 
    @Override
    public Boolean checkTodo() {
        return false;
    }
}