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
cc596789
Commit
cc596789
authored
Sep 03, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):1,设备编辑添加作废条件限制
parent
f4a6c1a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+10
-10
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
cc596789
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回')
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回'
and a.audit_status
<![CDATA[ <> ]]>
'已作废'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回')
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回'
and a.audit_status
<![CDATA[ <> ]]>
'已作废'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
where
where
a.sequence_nbr = b.unit_change_registration_id
a.sequence_nbr = b.unit_change_registration_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.status
<![CDATA[ <> ]]>
'使用单位已撤回')
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.status
<![CDATA[ <> ]]>
'使用单位已撤回'
and a.status
<![CDATA[ <> ]]>
'已作废'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
where
where
a.sequence_nbr = b.enable_disable_apply_id
a.sequence_nbr = b.enable_disable_apply_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.audit_status
<![CDATA[ <> ]]>
'已驳回' and a.audit_status
<![CDATA[ <> ]]>
'已撤回' and a.audit_status
<![CDATA[ <> ]]>
'待提交')
and (a.audit_status
<![CDATA[ <> ]]>
'已驳回' and a.audit_status
<![CDATA[ <> ]]>
'已撤回' and a.audit_status
<![CDATA[ <> ]]>
'待提交'
and a.audit_status
<![CDATA[ <> ]]>
'已作废'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.apply_status
<![CDATA[ <> ]]>
'6614' and a.apply_status
<![CDATA[ <> ]]>
'6615' and a.apply_status
<![CDATA[ <> ]]>
'6610')
and (a.apply_status
<![CDATA[ <> ]]>
'6614' and a.apply_status
<![CDATA[ <> ]]>
'6615' and a.apply_status
<![CDATA[ <> ]]>
'6610'
and a.apply_status
<![CDATA[ <> ]]>
'6617'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610')
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610'
and a.notice_status
<![CDATA[ <> ]]>
'6617'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.status
<![CDATA[ <> ]]>
'维保单位已驳回' and a.status
<![CDATA[ <> ]]>
'使用单位已撤回' and a.status
<![CDATA[ <> ]]>
'使用单位待提交')
and (a.status
<![CDATA[ <> ]]>
'
已作废' and a.status
<![CDATA[ <> ]]>
'
维保单位已驳回' and a.status
<![CDATA[ <> ]]>
'使用单位已撤回' and a.status
<![CDATA[ <> ]]>
'使用单位待提交')
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610')
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610'
and a.notice_status
<![CDATA[ <> ]]>
'6617'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交')
and (a.audit_status
<![CDATA[ <> ]]>
'使用单位已撤回' and a.audit_status
<![CDATA[ <> ]]>
'一级受理已驳回' and a.audit_status
<![CDATA[ <> ]]>
'使用单位待提交'
and a.audit_status
<![CDATA[ <> ]]>
'已作废'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
where
where
a.sequence_nbr = b.equip_transfer_id
a.sequence_nbr = b.equip_transfer_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610')
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610'
and a.notice_status
<![CDATA[ <> ]]>
'6617'
)
UNION
UNION
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
...
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