|
|
|
@ -103,11 +103,11 @@ public class SessionMapperProvider {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* query by session id and ip |
|
|
|
|
* query by session id |
|
|
|
|
* @param parameter |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public String queryByIdAndIp(Map<String, Object> parameter) { |
|
|
|
|
public String queryBySessionId(Map<String, Object> parameter) { |
|
|
|
|
return new SQL() {{ |
|
|
|
|
SELECT("*"); |
|
|
|
|
|
|
|
|
@ -118,11 +118,11 @@ public class SessionMapperProvider {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* query by user id and ip |
|
|
|
|
* query by user id |
|
|
|
|
* @param parameter |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public String queryByUserIdAndIp(Map<String, Object> parameter) { |
|
|
|
|
public String queryByUserId(Map<String, Object> parameter) { |
|
|
|
|
return new SQL() {{ |
|
|
|
|
SELECT("*"); |
|
|
|
|
|
|
|
|
|