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
36eb22cb
Commit
36eb22cb
authored
Apr 10, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug - 71087
parent
298ac30d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
20 deletions
+17
-20
InspectionReportPdfVO.java
.../main/java/com/ruoyi/domain/vo/InspectionReportPdfVO.java
+0
-4
TaskMapper.java
...ity-review/src/main/java/com/ruoyi/mapper/TaskMapper.java
+1
-0
TaskMapper.xml
quality-review/src/main/resources/mapper/TaskMapper.xml
+4
-4
receipt_template_04_02.pdf
...ew/src/main/resources/template/receipt_template_04_02.pdf
+0
-0
application-druid.yml
ruoyi-admin/src/main/resources/application-druid.yml
+6
-6
application-prod-druid.yml
ruoyi-admin/src/main/resources/application-prod-druid.yml
+6
-6
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/InspectionReportPdfVO.java
View file @
36eb22cb
package
com
.
ruoyi
.
domain
.
vo
;
package
com
.
ruoyi
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
/**
/**
* 检验报告PDF VO类
* 检验报告PDF VO类
...
...
quality-review/src/main/java/com/ruoyi/mapper/TaskMapper.java
View file @
36eb22cb
...
@@ -66,4 +66,5 @@ public interface TaskMapper extends BaseMapper<Task> {
...
@@ -66,4 +66,5 @@ public interface TaskMapper extends BaseMapper<Task> {
List
<
UserNameResponse
>
findByRelation
(
@Param
(
"relation"
)
List
<
TaskUserRelation
>
relation
);
List
<
UserNameResponse
>
findByRelation
(
@Param
(
"relation"
)
List
<
TaskUserRelation
>
relation
);
List
<
UserNameResponse
>
findByFinishTaskList
(
@Param
(
"taskList"
)
List
<
Task
>
taskList
);
List
<
UserNameResponse
>
findByFinishTaskList
(
@Param
(
"taskList"
)
List
<
Task
>
taskList
);
}
}
quality-review/src/main/resources/mapper/TaskMapper.xml
View file @
36eb22cb
...
@@ -307,14 +307,14 @@
...
@@ -307,14 +307,14 @@
t.entrusted_unit_address AS clientAddress,
t.entrusted_unit_address AS clientAddress,
t.entrusted_unit_phone AS entrustedUnitTelephone,
t.entrusted_unit_phone AS entrustedUnitTelephone,
t.entrusted_unit_code AS clientPostalCode,
t.entrusted_unit_code AS clientPostalCode,
GROUP_CONCAT(s.sample_name
) AS sampleName,
SUBSTRING_INDEX(GROUP_CONCAT(s.sample_name), ',', 1
) AS sampleName,
t.product_model AS typeSpecification,
t.product_model AS typeSpecification,
DATE_FORMAT(t.task_begin_time, '%Y年%m月%d日') AS taskBeginTime,
DATE_FORMAT(t.task_begin_time, '%Y年%m月%d日') AS taskBeginTime,
DATE_FORMAT(t.task_end_time, '%Y年%m月%d日') AS taskEndTime,
DATE_FORMAT(t.task_end_time, '%Y年%m月%d日') AS taskEndTime,
concat(st.standard_no, ' ', st.name) AS inspectionBasis,
concat(st.standard_no, ' ', st.name) AS inspectionBasis,
GROUP_CONCAT(distinct ae.enterprise_name
) AS productionEnterprise,
SUBSTRING_INDEX(GROUP_CONCAT(distinct ae.enterprise_name), ',', 1
) AS productionEnterprise,
GROUP_CONCAT(s.sample_sender
) AS sampleSender,
SUBSTRING_INDEX(GROUP_CONCAT(s.sample_sender), ',', 1
) AS sampleSender,
GROUP_CONCAT(distinct DATE_FORMAT(s.delivery_date, '%Y-%m-%d')
) AS sampleDeliveryDate,
SUBSTRING_INDEX(GROUP_CONCAT(distinct DATE_FORMAT(s.delivery_date, '%Y-%m-%d')), ',', 1
) AS sampleDeliveryDate,
count(s.id) AS sampleQuantity,
count(s.id) AS sampleQuantity,
CONVERT(sum(s.number_of_samples), UNSIGNED) AS sampleSum,
CONVERT(sum(s.number_of_samples), UNSIGNED) AS sampleSum,
GROUP_CONCAT(distinct DATE_FORMAT(s.manufacture_date, '%Y-%m-%d')) AS sampleDeliveryDate,
GROUP_CONCAT(distinct DATE_FORMAT(s.manufacture_date, '%Y-%m-%d')) AS sampleDeliveryDate,
...
...
quality-review/src/main/resources/template/receipt_template_04_02.pdf
View file @
36eb22cb
No preview for this file type
ruoyi-admin/src/main/resources/application-druid.yml
View file @
36eb22cb
...
@@ -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=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://49.232.167.247:22030/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&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-prod-druid.yml
View file @
36eb22cb
...
@@ -6,16 +6,16 @@ spring:
...
@@ -6,16 +6,16 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://${MYSQL_IP}:${MYSQL_PORT}/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://${MYSQL_IP}:${MYSQL_PORT}/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
&sessionVariables=group_concat_max_len=3000
username
:
${MYSQL_USERNAME}
username
:
${MYSQL_USERNAME}
password
:
${MYSQL_PASSWORD}
password
:
${MYSQL_PASSWORD}
# 从库数据源
# 从库数据源
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
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