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
3903155b
Commit
3903155b
authored
Oct 23, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reafact(jg): 业务作废
1.更新纳管状态时逻辑修改
parent
e7eec840
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
CommonMapper.java
.../yeejoin/amos/boot/module/jg/api/mapper/CommonMapper.java
+5
-1
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/CommonMapper.java
View file @
3903155b
...
@@ -80,7 +80,11 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
...
@@ -80,7 +80,11 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
*/
*/
Integer
countEquipInUseTimesWithOutZF
(
String
record
);
Integer
countEquipInUseTimesWithOutZF
(
String
record
);
/**
* 查询使该设备变为已纳管的业务的数量 [> 0,则纳管状态不需要更新][< 0,则纳管状态需要更新]
* @param record 设备唯一标识
* @return 使设备变为已纳管设备的的业务数量
*/
Integer
countEquipInUseTimesForDiscard
(
String
record
);
Integer
countEquipInUseTimesForDiscard
(
String
record
);
List
<
String
>
refreshTheDetailsDataOfCompletedUsageRegistration
(
String
since
);
List
<
String
>
refreshTheDetailsDataOfCompletedUsageRegistration
(
String
since
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
3903155b
...
@@ -3191,7 +3191,7 @@
...
@@ -3191,7 +3191,7 @@
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.is_delete = 0
and a.is_delete = 0
and (a.notice_status
<![CDATA[ <> ]]>
'6617
')
and (a.notice_status
= '6616
')
UNION all
UNION all
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -3202,7 +3202,7 @@
...
@@ -3202,7 +3202,7 @@
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.is_delete = 0
and a.is_delete = 0
and ( a.status
<![CDATA[ <> ]]>
'已作废
')
and ( a.status
= '已完成
')
UNION all
UNION all
select
select
count(1) as inUseNumber
count(1) as inUseNumber
...
@@ -3213,7 +3213,7 @@
...
@@ -3213,7 +3213,7 @@
a.sequence_nbr = b.vehicle_id
a.sequence_nbr = b.vehicle_id
and b.equ_id = #{record}
and b.equ_id = #{record}
and a.is_delete = 0
and a.is_delete = 0
and (a.status
<![CDATA[ <> ]]>
'已作废
')
and (a.status
= '已完成
')
)
)
</select>
</select>
</mapper>
</mapper>
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