@Service public class SystemParamService extends Object
构造器和说明 |
---|
SystemParamService() |
限定符和类型 | 方法和说明 |
---|---|
Boolean |
getBoolean(String name) |
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) |
List |
getList(String name) |
Long |
getLong(String name) |
Map |
getMap(String name) |
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()
public int update(String name, Object value) throws SQLException
name
- value
- SQLException
public List<Map<String,Object>> list() throws SQLException
SQLException
public int save(String name, Object value, String description) throws SQLException
name
- value
- description
- SQLException
public int insert(String name, Object value, String description) throws SQLException
name
- value
- description
- SQLException
public Object getObject(String name) throws SQLException
name
- SQLException
public String getString(String name) throws SQLException
SQLException
public Integer getInt(String name) throws SQLException
SQLException
public Long getLong(String name) throws SQLException
SQLException
public Double getDouble(String name) throws SQLException
SQLException
public Float getFloat(String name) throws SQLException
SQLException
public Date getDate(String name) throws SQLException
SQLException
public String getDateTime(String name) throws SQLException
name
- SQLException
public com.alibaba.fastjson.JSONObject getJson(String name) throws SQLException
SQLException
public Map getMap(String name) throws SQLException
SQLException
public List getList(String name) throws SQLException
SQLException
public Boolean getBoolean(String name) throws SQLException
SQLException
Copyright © 2025. All rights reserved.