Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王飞
vehicle-quality-review
Commits
03432e14
Commit
03432e14
authored
Jun 14, 2024
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
dev - master 21 See merge request
!357
parents
eca56010
399c73d2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
18 deletions
+21
-18
TaskServiceImpl.java
...src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
+4
-0
application-druid.yml
ruoyi-admin/src/main/resources/application-druid.yml
+6
-6
application.yml
ruoyi-admin/src/main/resources/application.yml
+5
-5
logback.xml
ruoyi-admin/src/main/resources/logback.xml
+6
-7
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
View file @
03432e14
...
@@ -1120,6 +1120,8 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
...
@@ -1120,6 +1120,8 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
response
.
setSchedule
(
100.0
);
response
.
setSchedule
(
100.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
CarReviewTask
.
TASK_STATUS_SIGNED
))
{
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
CarReviewTask
.
TASK_STATUS_SIGNED
))
{
response
.
setSchedule
(
90.0
);
response
.
setSchedule
(
90.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
CarReviewTask
.
TASK_STATUS_NEW
))
{
response
.
setSchedule
(
0.0
);
}
else
{
}
else
{
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
...
@@ -1151,6 +1153,8 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
...
@@ -1151,6 +1153,8 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
response
.
setSchedule
(
100.0
);
response
.
setSchedule
(
100.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
SystemReviewTask
.
STATUS_SIGNED
))
{
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
SystemReviewTask
.
STATUS_SIGNED
))
{
response
.
setSchedule
(
90.0
);
response
.
setSchedule
(
90.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
SystemReviewTask
.
STATUS_NEW
))
{
response
.
setSchedule
(
0.0
);
}
else
{
}
else
{
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
...
...
ruoyi-admin/src/main/resources/application-druid.yml
View file @
03432e14
...
@@ -6,16 +6,16 @@ spring:
...
@@ -6,16 +6,16 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
49.232.167.247:22030/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=tru
e&serverTimezone=GMT%2B8&sessionVariables=group_concat_max_len=3000
url
:
jdbc:mysql://
106.3.99.64:20011/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=fals
e&serverTimezone=GMT%2B8&sessionVariables=group_concat_max_len=3000
username
:
root
username
:
root
password
:
1qaz@WSX
password
:
1qaz@WSX
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
enabled
:
false
enabled
:
false
url
:
url
:
username
:
username
:
password
:
password
:
# 初始连接数
# 初始连接数
initialSize
:
5
initialSize
:
5
# 最小连接池数量
# 最小连接池数量
...
@@ -39,7 +39,7 @@ spring:
...
@@ -39,7 +39,7 @@ spring:
testWhileIdle
:
true
testWhileIdle
:
true
testOnBorrow
:
false
testOnBorrow
:
false
testOnReturn
:
false
testOnReturn
:
false
webStatFilter
:
webStatFilter
:
enabled
:
true
enabled
:
true
statViewServlet
:
statViewServlet
:
enabled
:
true
enabled
:
true
...
@@ -58,4 +58,4 @@ spring:
...
@@ -58,4 +58,4 @@ spring:
merge-sql
:
true
merge-sql
:
true
wall
:
wall
:
config
:
config
:
multi-statement-allow
:
true
multi-statement-allow
:
true
\ No newline at end of file
ruoyi-admin/src/main/resources/application.yml
View file @
03432e14
...
@@ -9,7 +9,7 @@ ruoyi:
...
@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关
# 实例演示开关
demoEnabled
:
true
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
/data/docker_
volume/2024
/secureTest/application/upload
profile
:
/data/docker_
project/2024/002_zqy_security_test_wf
/secureTest/application/upload
# 获取ip地址开关
# 获取ip地址开关
addressEnabled
:
true
addressEnabled
:
true
# 验证码类型 math 数字计算 char 字符验证
# 验证码类型 math 数字计算 char 字符验证
...
@@ -18,7 +18,7 @@ ruoyi:
...
@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
220
32
port
:
220
16
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
...
@@ -70,9 +70,9 @@ spring:
...
@@ -70,9 +70,9 @@ spring:
# redis 配置
# redis 配置
redis
:
redis
:
# 地址
# 地址
host
:
49.232.167.247
host
:
106.3.99.64
# 端口,默认为6379
# 端口,默认为6379
port
:
220
31
port
:
220
12
# 数据库索引
# 数据库索引
database
:
0
database
:
0
# 密码
# 密码
...
@@ -146,7 +146,7 @@ xss:
...
@@ -146,7 +146,7 @@ xss:
urlPatterns
:
/*
urlPatterns
:
/*
minio
:
minio
:
url
:
http://
49.232.167.247:22038
url
:
http://
106.3.99.64:22013
accessKey
:
lB7WhZYiQwLzhHPutRGn
accessKey
:
lB7WhZYiQwLzhHPutRGn
secretKey
:
7XMWpLm6p4d20OFe9uXKifEyhF3cp4sTCowI2fhJ
secretKey
:
7XMWpLm6p4d20OFe9uXKifEyhF3cp4sTCowI2fhJ
bucketName
:
vehicle-quality-review-oss
bucketName
:
vehicle-quality-review-oss
...
...
ruoyi-admin/src/main/resources/logback.xml
View file @
03432e14
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
<configuration
scan=
"true"
scanPeriod=
"60 seconds"
debug=
"false"
>
<configuration
scan=
"true"
scanPeriod=
"60 seconds"
debug=
"false"
>
<statusListener
class=
"ch.qos.logback.core.status.NopStatusListener"
/>
<statusListener
class=
"ch.qos.logback.core.status.NopStatusListener"
/>
<!-- 日志存放路径 -->
<!-- 日志存放路径 -->
<property
name=
"log.path"
value=
"logs"
/>
<property
name=
"log.path"
value=
"
./
logs"
/>
<!-- 日志输出格式 -->
<!-- 日志输出格式 -->
<property
name=
"log.pattern"
<property
name=
"log.pattern"
...
@@ -89,16 +89,16 @@
...
@@ -89,16 +89,16 @@
</appender>
</appender>
<!-- 系统模块日志级别控制 -->
<!-- 系统模块日志级别控制 -->
<logger
name=
"com.ruoyi"
level=
"
INFO
"
/>
<logger
name=
"com.ruoyi"
level=
"
info
"
/>
<!-- Spring日志级别控制 -->
<!-- Spring日志级别控制 -->
<logger
name=
"org.springframework"
level=
"warn"
/>
<logger
name=
"org.springframework"
level=
"warn"
/>
<root
level=
"
INFO
"
>
<root
level=
"
info
"
>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"console"
/>
</root>
</root>
<!--系统操作日志-->
<!--系统操作日志-->
<root
level=
"
INFO
"
>
<root
level=
"
info
"
>
<appender-ref
ref=
"file_info"
/>
<appender-ref
ref=
"file_info"
/>
<appender-ref
ref=
"file_error"
/>
<appender-ref
ref=
"file_error"
/>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"console"
/>
...
@@ -106,9 +106,8 @@
...
@@ -106,9 +106,8 @@
</root>
</root>
<!--系统用户操作日志-->
<!--系统用户操作日志-->
<logger
name=
"sys-user"
level=
"
INFO
"
>
<logger
name=
"sys-user"
level=
"
info
"
>
<appender-ref
ref=
"sys-user"
/>
<appender-ref
ref=
"sys-user"
/>
<appender-ref
ref=
"console"
/>
</logger>
</logger>
...
...
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