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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
package jnpf.base.service;
 
import jnpf.base.entity.OperatorRecordEntity;
import jnpf.base.entity.PrintDevEntity;
import jnpf.base.model.print.*;
import jnpf.base.model.vo.PrintDevVO;
 
import java.util.List;
import java.util.Map;
 
/**
 * 打印模板-服务类
 *
 * @author JNPF开发平台组 YY
 * @version V3.2.0
 * @copyright 引迈信息技术有限公司
 * @date 2019年9月30日
 */
public interface PrintDevService extends SuperService<PrintDevEntity> {
 
    /**
     * 列表
     *
     * @return 打印实体类
     */
    List<PrintDevEntity> getList(PaginationPrint paginationPrint);
 
    /**
     * 根据id列表获取数据
     *
     * @param idList
     * @return
     */
    List<PrintDevEntity> getListByIds(List<String> idList);
 
    /**
     * 获取用户创建的所有模板
     *
     * @param creUser
     * @return
     */
    List<PrintDevEntity> getListByCreUser(String creUser);
 
    /**
     * 创建
     */
    void create(PrintDevFormDTO dto);
 
    /**
     * 获取详情
     *
     * @return PrintDevInfoVO
     */
    PrintDevInfoVO getVersionInfo(String versionId);
 
    /**
     * 保存或者发布 通过type:0-保存,1-发布
     *
     * @param form
     */
    void saveOrRelease(PrintDevUpForm form);
 
    /**
     * 获取打印模板对象树形模型(selector)
     *
     * @param category 打印模板类型
     * @return 打印模型树
     * @throws Exception 字典分类不存在BUG
     */
    List<PrintDevVO> getTreeModel(String category);
 
    /**
     * 新增更新校验
     *
     * @param printDevEntity 打印模板对象
     * @param fullNameCheck  重名校验开关
     * @param encodeCheck    重码校验开关
     */
    void creUpdateCheck(PrintDevEntity printDevEntity, Boolean fullNameCheck, Boolean encodeCheck);
 
    Boolean isExistByEnCode(String enCode, String id);
 
    /**
     * 查询打印列表
     *
     * @param ids
     * @return
     */
    List<PrintOption> getPrintTemplateOptions(List<String> ids);
 
    /**
     * 导入打印模板
     *
     * @param infoVO
     * @param type
     * @return
     */
    String importData(PrintDevInfoVO infoVO, Integer type);
 
    /**
     * 获取流程经办记录集合
     *
     * @param taskId 任务ID
     * @return 经办记录集合
     */
    List<OperatorRecordEntity> getFlowTaskOperatorRecordList(String taskId);
 
    /**
     * 根据sql获取数据
     *
     * @param templateId 打印模板id
     * @param formId     表达数据id
     * @param params     参数
     * @return
     */
    Map<String, Object> getDataMap(String templateId, String formId, String flwoTaskId, Map<String, Object> params);
 
    /**
     * 复制打印模板
     *
     * @param templateId 打印模板id
     * @return
     */
    void copyPrintdev(String templateId);
 
    /**
     * 获取打印业务列表
     *
     * @param pagination
     * @return
     */
    List<PrintDevEntity> getWorkSelector(PaginationPrint pagination);
 
    /**
     * 获取打印业务列表
     *
     * @return 打印模型树
     */
    List<PrintDevEntity> getWorkSelector(List<String> id);
 
}