Commit 4c664ad3 authored by suhuiguang's avatar suhuiguang

reafact(jg): 业务作废

1.车用气瓶作废后续流程增加注销报废
parent d94d22eb
...@@ -382,5 +382,20 @@ ...@@ -382,5 +382,20 @@
#{record} #{record}
</foreach>]) </foreach>])
and (a.status <![CDATA[ <> ]]> '已作废') and (a.status <![CDATA[ <> ]]> '已作废')
UNION all
select
a.apply_no as recUserName,
b.equ_id as equId
from
tzs_jg_scrap_cancel a,
tzs_jg_scrap_cancel_eq b
where
a.sequence_nbr = b.equip_transfer_id
and a.is_delete = 0
and b.equ_id = ANY(ARRAY[
<foreach collection="records" item="record" separator=",">
#{record}
</foreach>])
and (a.audit_status <![CDATA[ <> ]]> '已作废')
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment