Browse Source

change method name queryByIdAndIp to queryBySessionId and queryByUserIdAndIp to queryByUserId

pull/2/head
lgcareer 5 years ago
parent
commit
eafe4d8cb0
  1. 8
      escheduler-dao/src/main/java/cn/escheduler/dao/mapper/SessionMapperProvider.java

8
escheduler-dao/src/main/java/cn/escheduler/dao/mapper/SessionMapperProvider.java

@ -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("*");

Loading…
Cancel
Save