Commit 78e33a49 authored by suhuiguang's avatar suhuiguang

feat(jg): 压力管道后续业务

1.改造变更登记压力管道装置只能选择状态为已登记的证
parent 753869a7
...@@ -317,16 +317,19 @@ ...@@ -317,16 +317,19 @@
tzs_jg_change_registration_reform_eq b tzs_jg_change_registration_reform_eq b
where where
a.sequence_nbr = b.equip_transfer_id a.sequence_nbr = b.equip_transfer_id
and a.status not in('使用单位待提交','一级受理已驳回','使用单位已撤回','已作废','已完成') and a.status not in('使用单位待提交','一级受理已驳回','使用单位已撤回','已作废','已完成')
</select> </select>
<select id="queryJgProjectContraptionPage" <select id="queryJgProjectContraptionPage"
resultType="com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption"> resultType="com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption">
select select
pc.* pc.*
from from
idx_biz_jg_project_contraption pc idx_biz_jg_project_contraption pc,
tzs_jg_use_registration_manage m
where where
1=1 pc.use_registration_code = m.use_registration_code
and m.certificate_status = '已登记'
and m.is_delete = '0'
and pc.use_registration_code <![CDATA[<>]]> '' and pc.use_registration_code <![CDATA[<>]]> ''
and pc.is_into_management = true and pc.is_into_management = true
and pc.use_unit_credit_code=#{companyCode} and pc.use_unit_credit_code=#{companyCode}
...@@ -338,7 +341,7 @@ ...@@ -338,7 +341,7 @@
#{projectContraptionId} #{projectContraptionId}
</foreach> </foreach>
</if> </if>
and EXISTS (SELECt 1 FROM tzs_jg_reform_notice a where a.notice_status='6616' and a.project_contraption_id = pc.sequence_nbr) and EXISTS (SELECt count(1) FROM tzs_jg_reform_notice a where a.notice_status='6616' and a.project_contraption_id = pc.sequence_nbr)
order by pc.sequence_nbr desc order by pc.sequence_nbr desc
</select> </select>
<sql id="page-list-pipeline"> <sql id="page-list-pipeline">
......
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