@Service public class UserParamService extends Object
| 构造器和说明 |
|---|
UserParamService() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
delete(long userId)
清空用户参数
|
int |
delete(long userId,
String name) |
Object |
get(long userId,
String name)
获取用户参数
|
boolean |
getBoolean(long userId,
String name) |
String |
getDate(long userId,
String name) |
String |
getDateTime(long userId,
String name)
获取日期时间
|
double |
getDouble(long userId,
String name)
获取用户参数
|
float |
getFloat(long userId,
String name) |
int |
getInt(long userId,
String name)
获取用户参数
|
com.alibaba.fastjson.JSONObject |
getJson(long userId,
String name) |
List |
getList(long userId,
String name) |
Map |
getMap(long userId,
String name) |
String |
getString(long userId,
String name)
获取用户参数
|
int |
insert(long userId,
String name,
Object value) |
List<Map<String,Object>> |
list()
获取用户列表
|
List<Map<String,Object>> |
list(long userId)
获取用户参数列表
|
int |
update(long userId,
String name,
Object value)
更新用户参数
|
@Comment(value="\u83b7\u53d6\u7528\u6237\u5217\u8868") public List<Map<String,Object>> list() throws SQLException
SQLException@Comment(value="\u83b7\u53d6\u7528\u6237\u53c2\u6570\u5217\u8868") public List<Map<String,Object>> list(long userId) throws SQLException
userId - SQLException@Comment(value="\u6e05\u7a7a\u7528\u6237\u53c2\u6570")
public int delete(long userId)
throws SQLException
userId - SQLException@Comment(value="\u5220\u9664\u7528\u6237\u53c2\u6570")
public int delete(long userId,
String name)
throws SQLException
userId - name - SQLException@Comment(value="\u6dfb\u52a0\u7528\u6237\u53c2\u6570")
public int insert(long userId,
String name,
Object value)
throws SQLException
userId - 用户IDname - 字典value - 值SQLException@Comment(value="\u66f4\u65b0\u7528\u6237\u53c2\u6570")
public int update(long userId,
String name,
Object value)
throws SQLException
userId - 用户IDname - 字典value - 值SQLException@Comment(value="\u83b7\u53d6\u7528\u6237\u53c2\u6570") public Object get(long userId, String name) throws SQLException
userId - 用户IDname - 字典SQLException@Comment(value="\u83b7\u53d6\u7528\u6237\u53c2\u6570") public String getString(long userId, String name) throws SQLException
userId - 用户IDname - 字典SQLException@Comment(value="\u83b7\u53d6\u7528\u6237\u53c2\u6570")
public int getInt(long userId,
String name)
throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6\u7528\u6237\u53c2\u6570")
public double getDouble(long userId,
String name)
throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6Float")
public float getFloat(long userId,
String name)
throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6\u65e5\u671f") public String getDate(long userId, String name) throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6\u65e5\u671f\u65f6\u95f4") public String getDateTime(long userId, String name) throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6JSON")
public com.alibaba.fastjson.JSONObject getJson(long userId,
String name)
throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6Map") public Map getMap(long userId, String name) throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6List") public List getList(long userId, String name) throws SQLException
userId - name - SQLException@Comment(value="\u83b7\u53d6Boolean")
public boolean getBoolean(long userId,
String name)
throws SQLException
userId - name - SQLExceptionCopyright © 2025. All rights reserved.