| 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
 | | /** |  |  * Copyright (c) 2018 人人开源 All rights reserved. |  |  * |  |  * https://www.renren.io |  |  * |  |  * 版权所有,侵权必究! |  |  */ |  |   |  | package com.zt.core.sys.service; |  |   |  | /** |  |  * 参数管理 |  |  * |  |  * @author hehz |  |  * @since 1.0.0 |  |  */ |  | public interface ISysParamsService { |  |   |  |     /** |  |      * 根据参数编码,获取参数的value值 |  |      * |  |      * @param paramCode |  |      *            参数编码 |  |      */ |  |     String getValue(String paramCode); |  |   |  |     boolean getBooleanValue(String paramCode, boolean defaultValue); |  |   |  |     /** |  |      * 根据参数编码,获取value的Object对象 |  |      * |  |      * @param paramCode |  |      *            参数编码 |  |      * @param clazz |  |      *            Object对象 |  |      */ |  |     <T> T getValueObject(String paramCode, Class<T> clazz); |  |   |  |     /** |  |      * 根据参数编码,更新value |  |      * |  |      * @param paramCode |  |      *            参数编码 |  |      * @param paramValue |  |      *            参数值 |  |      */ |  |     int updateValueByCode(String paramCode, String paramValue); |  | } | 
 |