@Service public class SystemParamService extends Object
| 构造器和说明 |
|---|
SystemParamService() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getBoolean(String name)
获取Boolean
|
Date |
getDate(String name) |
String |
getDateTime(String name)
获取日期时间
|
Double |
getDouble(String name) |
Float |
getFloat(String name) |
Integer |
getInt(String name)
获取整数
|
com.alibaba.fastjson.JSONObject |
getJson(String name)
获取JSON
|
List |
getList(String name)
获取列表
|
Long |
getLong(String name)
获取长整数
|
Map |
getMap(String name)
获取Map
|
Object |
getObject(String name)
获取字典数据
|
String |
getString(String name) |
int |
insert(String name,
Object value,
String description)
添加字典数据
|
static SystemParamService |
instance() |
List<Map<String,Object>> |
list()
列表所有字典数据
|
int |
save(String name,
Object value,
String description)
保存字典数据
|
int |
update(String name,
Object value)
更新记录
|
public static SystemParamService instance()
@Comment(value="\u66f4\u65b0\u8bb0\u5f55") public int update(String name, Object value) throws SQLException
name - value - SQLException@Comment(value="\u5217\u8868\u6240\u6709\u5b57\u5178\u6570\u636e") public List<Map<String,Object>> list() throws SQLException
SQLException@Comment(value="\u4fdd\u5b58\u5b57\u5178\u6570\u636e") public int save(String name, Object value, String description) throws SQLException
name - value - description - SQLException@Comment(value="\u6dfb\u52a0\u5b57\u5178\u6570\u636e") public int insert(String name, Object value, String description) throws SQLException
name - value - description - SQLException@Comment(value="\u83b7\u53d6\u5b57\u5178\u6570\u636e") public Object getObject(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u5b57\u7b26\u4e32") public String getString(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u6574\u6570") public Integer getInt(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u957f\u6574\u6570") public Long getLong(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u6d6e\u70b9\u6570") public Double getDouble(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u6d6e\u70b9\u6570") public Float getFloat(String name) throws SQLException
SQLException@Comment(value="\u83b7\u53d6\u65e5\u671f") public Date getDate(String name) throws SQLException
SQLException@Comment(value="\u83b7\u53d6\u65e5\u671f\u65f6\u95f4") public String getDateTime(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6JSON") public com.alibaba.fastjson.JSONObject getJson(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6Map") public Map getMap(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6\u5217\u8868") public List getList(String name) throws SQLException
name - SQLException@Comment(value="\u83b7\u53d6Boolean") public Boolean getBoolean(String name) throws SQLException
name - SQLExceptionCopyright © 2025. All rights reserved.