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
Show 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
response
.
setSchedule
(
100.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
CarReviewTask
.
TASK_STATUS_SIGNED
))
{
response
.
setSchedule
(
90.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
CarReviewTask
.
TASK_STATUS_NEW
))
{
response
.
setSchedule
(
0.0
);
}
else
{
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
...
...
@@ -1151,6 +1153,8 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
response
.
setSchedule
(
100.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
SystemReviewTask
.
STATUS_SIGNED
))
{
response
.
setSchedule
(
90.0
);
}
else
if
(
Objects
.
equals
(
response
.
getTaskStatus
(),
SystemReviewTask
.
STATUS_NEW
))
{
response
.
setSchedule
(
0.0
);
}
else
{
BigDecimal
num
=
new
BigDecimal
(
response
.
getSchedule
());
response
.
setSchedule
(
num
.
setScale
(
1
,
BigDecimal
.
ROUND_UP
).
doubleValue
());
...
...
ruoyi-admin/src/main/resources/application-druid.yml
View file @
03432e14
...
...
@@ -6,7 +6,7 @@ spring:
druid
:
# 主库数据源
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
password
:
1qaz@WSX
# 从库数据源
...
...
ruoyi-admin/src/main/resources/application.yml
View file @
03432e14
...
...
@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( 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地址开关
addressEnabled
:
true
# 验证码类型 math 数字计算 char 字符验证
...
...
@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server
:
# 服务器的HTTP端口,默认为8080
port
:
220
32
port
:
220
16
servlet
:
# 应用的访问路径
context-path
:
/
...
...
@@ -70,9 +70,9 @@ spring:
# redis 配置
redis
:
# 地址
host
:
49.232.167.247
host
:
106.3.99.64
# 端口,默认为6379
port
:
220
31
port
:
220
12
# 数据库索引
database
:
0
# 密码
...
...
@@ -146,7 +146,7 @@ xss:
urlPatterns
:
/*
minio
:
url
:
http://
49.232.167.247:22038
url
:
http://
106.3.99.64:22013
accessKey
:
lB7WhZYiQwLzhHPutRGn
secretKey
:
7XMWpLm6p4d20OFe9uXKifEyhF3cp4sTCowI2fhJ
bucketName
:
vehicle-quality-review-oss
...
...
ruoyi-admin/src/main/resources/logback.xml
View file @
03432e14
...
...
@@ -4,7 +4,7 @@
<statusListener
class=
"ch.qos.logback.core.status.NopStatusListener"
/>
<!-- 日志存放路径 -->
<property
name=
"log.path"
value=
"logs"
/>
<property
name=
"log.path"
value=
"
./
logs"
/>
<!-- 日志输出格式 -->
<property
name=
"log.pattern"
...
...
@@ -89,16 +89,16 @@
</appender>
<!-- 系统模块日志级别控制 -->
<logger
name=
"com.ruoyi"
level=
"
INFO
"
/>
<logger
name=
"com.ruoyi"
level=
"
info
"
/>
<!-- Spring日志级别控制 -->
<logger
name=
"org.springframework"
level=
"warn"
/>
<root
level=
"
INFO
"
>
<root
level=
"
info
"
>
<appender-ref
ref=
"console"
/>
</root>
<!--系统操作日志-->
<root
level=
"
INFO
"
>
<root
level=
"
info
"
>
<appender-ref
ref=
"file_info"
/>
<appender-ref
ref=
"file_error"
/>
<appender-ref
ref=
"console"
/>
...
...
@@ -106,9 +106,8 @@
</root>
<!--系统用户操作日志-->
<logger
name=
"sys-user"
level=
"
INFO
"
>
<logger
name=
"sys-user"
level=
"
info
"
>
<appender-ref
ref=
"sys-user"
/>
<appender-ref
ref=
"console"
/>
</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