Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit befd16cc
authored
Mar 09, 2022
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到数据删除了历史数据
1 parent
abdf6814
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
pom.xml
src/main/resources/application.properties
src/main/resources/mapper/CompanyDictMapper.xml
pom.xml
View file @
befd16c
...
...
@@ -221,6 +221,7 @@
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
2.2.6.RELEASE
</version>
<configuration>
<excludes>
<exclude>
...
...
src/main/resources/application.properties
View file @
befd16c
# 环境配置
spring.profiles.active
=
prod
spring.profiles.active
=
dev
# 端口号
spring.server.port
=
2345
9
spring.server.port
=
2345
7
#嵌入tomcat配置
#和CPU数
spring.server.acceptorThreadCount
=
600
...
...
src/main/resources/mapper/CompanyDictMapper.xml
View file @
befd16c
...
...
@@ -42,10 +42,10 @@
and t2.delete_date is null
and t3.delete_date is null
<if
test=
"role == 1"
>
(and t4.rol_id = 1 or t4.role_id =
3)
and t4.role_id in (1,
3)
</if>
<if
test=
"role == 2"
>
(and t4.role_id = 2)
and t4.role_id = 2
</if>
<if
test=
"id != null and id != ''"
>
and t2.id = #{id}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment