Skip to content

Commit

Permalink
add springboot-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwujing committed Jan 15, 2024
1 parent cf267cf commit e35fcb6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions springboot-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ springBoot-demo 是一个SpringBoot的基础框架项目,可以在此项目上
springBoot-demo
├── pom.xml
├── README.md
├── build-dev.xml
├── README.md
├── build-dev.bat ant打包脚本启动命令
├── build-dev.xml ant打包脚本
├── git-info.bat git信息获取
├── start.sh linux启动脚本
├── stop.sh linux停止动脚本
└── src
├── main
│   ├── java
Expand Down
2 changes: 1 addition & 1 deletion springboot-demo/src/main/java/com/pancm/vo/BasePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class BasePage {
protected String orderString;

public String getOrderBy() {
if (!StringUtils.isEmpty(this.sortName) && StringUtils.isEmpty(this.sortOrder)) {
if (!StringUtils.isEmpty(this.sortName) && !StringUtils.isEmpty(this.sortOrder)) {
String orderBy = this.sortName + " " + this.sortOrder;
if (!StringUtils.isEmpty(this.defaultOrder) && !orderBy.equals(defaultOrder)) {
orderBy += ", " + defaultOrder;
Expand Down
2 changes: 1 addition & 1 deletion springboot-demo/src/main/resources/build.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_app = springboot-demo
build_time = 2024-01-15 14:13:36
build_time = 2024-01-15 15:48:50
git_commit =
git_branch =

0 comments on commit e35fcb6

Please sign in to comment.