Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZTGK
hzsomms
Commits
2bc30023
Commit
2bc30023
authored
Aug 26, 2024
by
史志龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
4f51ee70
ee74148a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
StatisticAnalysisMapper.xml
.../statisticAnalysis/mapper/xml/StatisticAnalysisMapper.xml
+5
-8
application-uat.yml
jeecg-module-system/src/main/resources/application-uat.yml
+1
-1
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/statisticAnalysis/mapper/xml/StatisticAnalysisMapper.xml
View file @
2bc30023
...
@@ -14,14 +14,8 @@
...
@@ -14,14 +14,8 @@
ON t1.movement_master_id = t2.id
ON t1.movement_master_id = t2.id
WHERE
WHERE
t1.project_name = '总计'
t1.project_name = '总计'
AND t2.check_time >= STR_TO_DATE( CONCAT( #{year}
AND t2.check_time >= STR_TO_DATE(CONCAT( #{year},'-01-01'),'%Y-%m-%d')
, '-01-01' )
AND t2.check_time
<
DATE_ADD(STR_TO_DATE(CONCAT(#{year},'-01-01'),'%Y-%m-%d'),INTERVAL 1 YEAR)) t
, '%Y-%m-%d' )
AND t2.check_time
<
DATE_ADD( STR_TO_DATE(CONCAT(#{year}
, '-01-01')
, '%Y-%m-%d')
, INTERVAL 1 YEAR)) t
GROUP BY t.light_rail_id,
GROUP BY t.light_rail_id,
t.check_month
t.check_month
ORDER BY t.check_month ASC
ORDER BY t.check_month ASC
...
@@ -33,6 +27,9 @@
...
@@ -33,6 +27,9 @@
COUNT(1) AS checkNum
COUNT(1) AS checkNum
FROM t_ek_rail_wear_record t1
FROM t_ek_rail_wear_record t1
INNER JOIN t_ek_records_master_check t2 ON t1.records_master_check_id = t2.id
INNER JOIN t_ek_records_master_check t2 ON t1.records_master_check_id = t2.id
WHERE
t2.check_time >= STR_TO_DATE(CONCAT( #{startMonth},'-01'),'%Y-%m-%d')
AND t2.check_time
<
DATE_ADD(STR_TO_DATE(CONCAT(#{endMonth}, '-01'), '%Y-%m-%d'), INTERVAL 1 MONTH)
GROUP BY t2.light_rail_name,
GROUP BY t2.light_rail_name,
t1.damage_type,
t1.damage_type,
t1.damage_degree
t1.damage_degree
...
...
jeecg-module-system/src/main/resources/application-uat.yml
View file @
2bc30023
...
@@ -131,7 +131,7 @@ spring:
...
@@ -131,7 +131,7 @@ spring:
connectionProperties
:
druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
connectionProperties
:
druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://47.94.207.62:3306/hzgw_uat?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&zeroDateTimeBehavior=convertToNull
url
:
jdbc:mysql://47.94.207.62:3306/hzgw_uat
1
?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&zeroDateTimeBehavior=convertToNull
username
:
root
username
:
root
password
:
superAdmin&321
password
:
superAdmin&321
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
...
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