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
2f4aef99
Commit
2f4aef99
authored
Jun 04, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.气瓶只统计在用的
parent
b189ec76
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CylinderInfoMapper.xml
...nder-api/src/main/resources/mapper/CylinderInfoMapper.xml
+2
-0
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/resources/mapper/CylinderInfoMapper.xml
View file @
2f4aef99
...
@@ -479,6 +479,7 @@
...
@@ -479,6 +479,7 @@
tz_cylinder_inspection b
tz_cylinder_inspection b
where
where
u.app_id = a.app_id
u.app_id = a.app_id
and a.cylinder_status='3114'
and a.last_inspection_id = b.sequence_nbr
and a.last_inspection_id = b.sequence_nbr
and date_gt(CURRENT_DATE, cast(b.next_inspection_date as date))
and date_gt(CURRENT_DATE, cast(b.next_inspection_date as date))
and not EXISTS (select 1 from tz_cylinder_question_info q where q.question_object_id = a.sequence_nbr and q.question_type = #{questionType})
and not EXISTS (select 1 from tz_cylinder_question_info q where q.question_object_id = a.sequence_nbr and q.question_type = #{questionType})
...
@@ -497,6 +498,7 @@
...
@@ -497,6 +498,7 @@
tz_cylinder_unit u
tz_cylinder_unit u
where
where
a.sequence_code = b.sequence_code
a.sequence_code = b.sequence_code
and a.cylinder_status='3114'
and u.app_id = a.app_id
and u.app_id = a.app_id
and a.last_inspection_id = b.sequence_nbr
and a.last_inspection_id = b.sequence_nbr
and b.inspection_result = '3124'
and b.inspection_result = '3124'
...
...
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