ludc
2024-08-23 b75e809d02809726382ed45b6c3c3394b091ec7e
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
package com.vci.frameworkcore.compatibility;
 
import com.vci.common.exception.VciException;
import com.vci.corba.common.PLException;
import com.vci.corba.framework.data.FuncOperationInfo;
import com.vci.pagemodel.MenuVO;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.starter.web.pagemodel.BaseResult;
 
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
 
/**
 * 首页系统模块配置添加按钮、添加操作类型等接口服务
 * @author ludc
 * @date 2024/8/19 12:42
 */
public interface SmHMSysModConfigServiceI {
 
    /**
     * 添加模块
     * @param menuVO
     * @return
     */
    MenuVO addModule(MenuVO menuVO) throws VciBaseException;
 
    /**
     * 修改模块
     * @param menuVO
     * @return
     */
    MenuVO updateModule(MenuVO menuVO) throws VciBaseException;
 
    /**
     * 删除模块
     * @param menuVO
     * @return
     */
    boolean delModule(MenuVO menuVO);
 
    /**
     * 删除模块下关联的操作类型
     * @param funcOperationInfo
     * @return
     */
    boolean delFuncOperation(FuncOperationInfo funcOperationInfo);
 
    /**
     * 增加操作类型
     * @return
     */
    boolean addOperationType(List<FuncOperationInfo> funcOperationInfoList);
 
    /**
     * 删除非系统模块
     * @return
     */
    boolean delNonsysModule();
 
    /**
     * 删除业务模块
     * @return
     */
    boolean delBusinessModule();
 
    /**
     * 导出管理功能模块或操作类型管理模块sql
     * @param exportPath 导出路径
     * @param isFunction 是否是导出管理功能模块sql
     * @return
     * @throws PLException
     */
    File exportFunctionSql(HttpServletResponse response,String exportPath,boolean isFunction/*是否是导出管理功能模块sql*/) throws PLException;
 
    /**
     * 导出
     * @return
     */
    String exportModule(HttpServletResponse response) throws PLException, IOException;
 
    /**
     * 导入
     * @param files
     * @return
     * @throws PLException
     */
    BaseResult importModule(LinkedList<File> files) throws PLException, IOException;
 
    /**
     * 管理功能模块、业务功能模块下的叶子节点—修改操作别名接口
     * @param menuVO
     * @return
     * @throws VciException
     */
    boolean updateAlias(MenuVO menuVO) throws VciException;
 
    //系统配置相关接口
    /**
     * 查询系统配置分类
     */
    List<Object>getSysConfTree();
 
    /**
     * 增加系统配置
     * @return
     */
    boolean addSysConf();
 
    /**
     * 修改系统配置
     * @return
     */
    boolean updateSysConf();
 
    /**
     * 删除系统配置
     * @return
     */
    boolean delSysConf();
 
    /**
     * 导出系统配置
     * @param response
     * @return
     */
    String exportSysConf(HttpServletResponse response);
 
}