wangting
2025-01-03 6f7f3834f66b08bed7af331ce1a168d6cd89292d
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
package com.vci.web.service;
 
import com.vci.common.exception.VciException;
import com.vci.corba.common.PLException;
import com.vci.corba.framework.data.*;
import com.vci.pagemodel.ExpExcelConditionVO;
import com.vci.pagemodel.MenuVO;
import com.vci.pagemodel.OperateVO;
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 addFuncOperationType(List<FuncOperationInfo> funcOperationInfoList);
 
    /**
     * 增加操作类型
     * @return
     */
    OperateInfo addOperationType(OperateVO operateVO);
 
    /**
     * 修改操作类型
     * @param operateVO
     * @return
     */
    OperateInfo updateOperationType(OperateVO operateVO) throws VciBaseException;
 
    /**
     * 删除操作类型
     * @param operateInfo
     * @return
     */
    boolean delOperationType(OperateInfo operateInfo);
 
    /**
     * 删除非系统模块
     * @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<AppConfigCategoryInfo>getAppConfigCategoryInfo();
 
    /**
     * 根据分类ID返回全部的 AppConfigDetail 对象
     * @return
     */
    List<AppConfigDetailInfo> getAppConfigDetailsByID(String clsId);
 
    /**
     * 增加配置项分类或配置项
     * @return
     */
    boolean addAppConf(AppConfigDetailInfo appConfigDetailInfo,boolean isConfCategorys/*是否为操作配置项分配*/);
 
    /**
     * 修改配置项分类或配置项
     * @return
     */
    boolean updateAppConf(AppConfigDetailInfo appConfigDetailInfo,boolean isConfCategorys/*是否为操作配置项分配*/);
 
    /**
     * 删除配置项分类或配置项
     * @return
     */
    boolean delAppConf(String[] ids,boolean isConfCategorys/*是否为操作配置项分配*/);
 
    /**
     * 导出系统配置(配置项分类或配置项)
     * @param response
     * @return
     */
    String exportSysConf(ExpExcelConditionVO expExcelConditionVO, HttpServletResponse response) throws IOException;
 
    /**
     * 获取当前在线人数
     * @return
     */
    long getOnlineUsersNum();
 
    /**
     * 获取在线人员
     * @return
     */
    List<OnlineUserInfo> getOnlineUsers();
 
}