Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
de7c8636
Commit
de7c8636
authored
Nov 04, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:大屏充装单位统计查询调整
parent
e702f4b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CylinderInfoMapper.xml
...nder-api/src/main/resources/mapper/CylinderInfoMapper.xml
+2
-1
CylinderStatisticsMapper.xml
...pi/src/main/resources/mapper/CylinderStatisticsMapper.xml
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/resources/mapper/CylinderInfoMapper.xml
View file @
de7c8636
...
@@ -622,8 +622,9 @@
...
@@ -622,8 +622,9 @@
tz_base_enterprise_info i
tz_base_enterprise_info i
WHERE
WHERE
i.app_id = f.app_id
i.app_id = f.app_id
AND
f.filling_endtime >= concat(#{startTime}, ' 00:00:00')
AND
f.filling_endtime >= concat(#{startTime}, ' 00:00:00')
AND i.org_code like concat(#{orgCode}, '%')
AND i.org_code like concat(#{orgCode}, '%')
AND i.unit_type like '%充装单位%'
GROUP BY
GROUP BY
filling_time
filling_time
ORDER BY
ORDER BY
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/CylinderStatisticsMapper.xml
View file @
de7c8636
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
( T.filling_quantity )
( T.filling_quantity )
FROM
FROM
tz_cylinder_filling_record T
tz_cylinder_filling_record T
INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
and E.unit_type like '%充装单位%'
WHERE
WHERE
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
</select>
</select>
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
( T.offloading_volume )
( T.offloading_volume )
FROM
FROM
tz_cylinder_offloading T
tz_cylinder_offloading T
INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
and E.unit_type like '%充装单位%'
WHERE
WHERE
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
</select>
</select>
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
( DISTINCT ( E.app_id ) )
( DISTINCT ( E.app_id ) )
FROM
FROM
tz_cylinder_filling_record
tz_cylinder_filling_record
T INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
T INNER JOIN tz_base_enterprise_info E ON T.app_id = E.app_id
and E.unit_type like '%充装单位%'
WHERE
WHERE
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
E.supervise_org_code LIKE concat ( #{orgCode}, '%' )
</select>
</select>
...
...
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