Commit 78e33a49 authored by suhuiguang's avatar suhuiguang

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

1.改造变更登记压力管道装置只能选择状态为已登记的证
parent 753869a7
...@@ -324,9 +324,12 @@ ...@@ -324,9 +324,12 @@
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