Commit da2db7e0 authored by suhuiguang's avatar suhuiguang

feat(已纳管设备无证时可编辑):已纳管设备调整

1.已纳管设备调整,历史设备流程中,增加车用气瓶
parent 87442a21
...@@ -125,10 +125,7 @@ ...@@ -125,10 +125,7 @@
group_concat(DISTINCT c.name) group_concat(DISTINCT c.name)
from from
idx_biz_jg_register_info jri,tz_equipment_category c where jri.EQU_DEFINE = c.code and jri.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as equDefine, idx_biz_jg_register_info jri,tz_equipment_category c where jri.EQU_DEFINE = c.code and jri.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as equDefine,
(SELECT (select c.company_name from privilege_company c where c.org_code = ur.supervision_org_code and c.is_deleted = false limit 1) as orgBranchName
group_concat(DISTINCT ibjsi.ORG_BRANCH_NAME)
from
idx_biz_jg_supervision_info ibjsi where ibjsi.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as orgBranchName
from from
tzs_jg_use_registration ur tzs_jg_use_registration ur
</sql> </sql>
...@@ -208,10 +205,7 @@ ...@@ -208,10 +205,7 @@
group_concat(DISTINCT c.name) group_concat(DISTINCT c.name)
from from
idx_biz_jg_register_info jri,tz_equipment_category c where jri.EQU_DEFINE = c.code and jri.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as equDefine, idx_biz_jg_register_info jri,tz_equipment_category c where jri.EQU_DEFINE = c.code and jri.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as equDefine,
(SELECT (select c.company_name from privilege_company c where c.org_code = ur.supervision_org_code and c.is_deleted = false limit 1) as orgBranchName
group_concat(DISTINCT ibjsi.ORG_BRANCH_NAME)
from
idx_biz_jg_supervision_info ibjsi where ibjsi.RECORD in (select re.equ_id from tzs_jg_use_registration_eq re where ur.sequence_nbr = re.equip_transfer_id)) as orgBranchName
from from
tzs_jg_use_registration ur tzs_jg_use_registration ur
</sql> </sql>
......
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