-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from dromara/dev
Dev
- Loading branch information
Showing
143 changed files
with
1,136 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#/bin/bash | ||
version=2.1.4 | ||
version=2.1.5 | ||
docker build -t orion-visor-adminer:${version} . | ||
docker tag orion-visor-adminer:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-adminer:${version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#/bin/bash | ||
version=2.1.4 | ||
version=2.1.5 | ||
docker build -t orion-visor-redis:${version} . | ||
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
...isor-framework-common/src/main/java/com/orion/visor/framework/common/annotation/Keep.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...mework-common/src/main/java/com/orion/visor/framework/common/entity/DataClearRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.orion.visor.framework.common.entity; | ||
|
||
/** | ||
* 数据清理请求 定义 | ||
* | ||
* @author Jiahang Li | ||
* @version 1.0.0 | ||
* @since 2024/8/29 11:26 | ||
*/ | ||
public interface DataClearRequest { | ||
|
||
/** | ||
* 获取清理数量限制 | ||
* | ||
* @return 清理限制 | ||
*/ | ||
Integer getLimit(); | ||
|
||
/** | ||
* 设置清理数量限制 | ||
* | ||
* @param limit limit | ||
*/ | ||
void setLimit(Integer limit); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...visor-framework-common/src/main/java/com/orion/visor/framework/common/utils/SqlUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package com.orion.visor.framework.common.utils; | ||
|
||
import com.orion.visor.framework.common.constant.Const; | ||
|
||
/** | ||
* sql 工具类 | ||
* | ||
* @author Jiahang Li | ||
* @version 1.0.0 | ||
* @since 2024/8/26 16:03 | ||
*/ | ||
public class SqlUtils { | ||
|
||
private SqlUtils() { | ||
} | ||
|
||
/** | ||
* limit n | ||
* | ||
* @param limit limit | ||
* @return limit | ||
*/ | ||
public static String limit(Number limit) { | ||
return Const.LIMIT + Const.SPACE + limit; | ||
} | ||
|
||
/** | ||
* limit offset limit | ||
* | ||
* @param offset offset | ||
* @param limit limit | ||
* @return limit | ||
*/ | ||
public static String limit(Number offset, Number limit) { | ||
return Const.LIMIT + Const.SPACE + offset + Const.COMMA + limit; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.