Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zgqc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
hufengqin
zgqc
Commits
279e9d8f
Commit
279e9d8f
authored
Mar 27, 2023
by
hufengqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MybatisConfig和log4j2的配置 不完全
parent
6848ed0d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
zgqc-common/pom.xml
+16
-1
zgqc-common/src/main/java/com/panda/common/entity/PageEntity.java
+2
-1
No files found.
zgqc-common/pom.xml
View file @
279e9d8f
...
@@ -55,8 +55,23 @@
...
@@ -55,8 +55,23 @@
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-log4j2
</artifactId>
<artifactId>
spring-boot-starter-log4j2
</artifactId>
<version>
2.7.6
</version>
<version>
3.0.4
</version>
</dependency>
</dependency>
<!-- spring-boot-starter-aop -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
<version>
3.0.4
</version>
</dependency>
<!-- fastjson2 -->
<dependency>
<groupId>
com.alibaba.fastjson2
</groupId>
<artifactId>
fastjson2
</artifactId>
<version>
2.0.23
</version>
</dependency>
</dependencies>
</dependencies>
...
...
zgqc-common/src/main/java/com/panda/common/entity/PageEntity.java
View file @
279e9d8f
...
@@ -31,7 +31,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -31,7 +31,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
*/
*/
public
class
PageEntity
{
public
class
PageEntity
{
private
long
current
=
1
;
private
long
current
=
1
;
private
long
size
=
10
;
private
long
size
=
10
0
;
public
PageEntity
()
{
public
PageEntity
()
{
}
}
...
@@ -66,6 +66,7 @@ public class PageEntity {
...
@@ -66,6 +66,7 @@ public class PageEntity {
return
new
Page
<>(
current
,
size
);
return
new
Page
<>(
current
,
size
);
}
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"PageEntity{"
+
return
"PageEntity{"
+
...
...
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