Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段启岩
beyond-clouds
Commits
f6017fdb
Commit
f6017fdb
authored
Feb 10, 2020
by
段启岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改我的项目按发布时间倒序排列
parent
e295cb13
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
src/main/java/cn/meteor/beyondclouds/modules/project/service/impl/ProjectServiceImpl.java
+1
-0
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/cn/meteor/beyondclouds/modules/project/service/impl/ProjectServiceImpl.java
View file @
f6017fdb
...
@@ -229,6 +229,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
...
@@ -229,6 +229,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
IPage
<
Project
>
page
=
new
Page
<>(
pageNumber
,
pageSize
);
IPage
<
Project
>
page
=
new
Page
<>(
pageNumber
,
pageSize
);
QueryWrapper
<
Project
>
projectQueryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
Project
>
projectQueryWrapper
=
new
QueryWrapper
<>();
projectQueryWrapper
.
eq
(
"user_id"
,
userId
);
projectQueryWrapper
.
eq
(
"user_id"
,
userId
);
projectQueryWrapper
.
orderByDesc
(
"create_time"
);
return
page
(
page
,
projectQueryWrapper
);
return
page
(
page
,
projectQueryWrapper
);
}
}
...
...
src/main/resources/application.yml
View file @
f6017fdb
...
@@ -5,7 +5,7 @@ spring:
...
@@ -5,7 +5,7 @@ spring:
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:3306/beyond_clouds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://127.0.0.1:3306/beyond_clouds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
username
:
root
password
:
2018006709
password
:
100Centa30821%mysql
# 邮箱
# 邮箱
mail
:
mail
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment