From cf455b8a7e0e9bf848691c2690d13c0427c9d827 Mon Sep 17 00:00:00 2001 From: tanghaihao <850814414@qq.com> Date: Mon, 4 Sep 2023 22:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E5=91=BD=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=E8=B7=A8=E5=BA=93=E6=9F=A5=E8=AF=A2=E5=BA=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hnac/hzims/equipment/mapper/EmInfoMapper.xml | 8 ++++---- .../hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml | 2 +- .../hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/mapper/EmInfoMapper.xml b/hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/mapper/EmInfoMapper.xml index d7be978..c5dad21 100644 --- a/hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/mapper/EmInfoMapper.xml +++ b/hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/mapper/EmInfoMapper.xml @@ -126,10 +126,10 @@ from hzims_em_info info LEFT JOIN hzims_em_tree tree ON info.tree_id = tree.id LEFT JOIN hzims_em_tree_basic etb ON tree.id = etb.tree_id - LEFT JOIN dev_hzims_assets.wt_sp_basic basic ON etb.basic_id = basic.id - LEFT JOIN dev_hzims_assets.wt_sp_total total ON basic.id = total.SP_BASIC_ID - LEFT JOIN dev_hzims_assets.wt_sp_warehouse house ON total.WAREHOUSE_ID = house.id - LEFT JOIN dev_hzims_operation.hzims_oper_access_material mat ON basic.id = mat.SP_BASIC_ID + LEFT JOIN hzims_assets.wt_sp_basic basic ON etb.basic_id = basic.id + LEFT JOIN hzims_assets.wt_sp_total total ON basic.id = total.SP_BASIC_ID + LEFT JOIN hzims_assets.wt_sp_warehouse house ON total.WAREHOUSE_ID = house.id + LEFT JOIN hzims_operation.hzims_oper_access_material mat ON basic.id = mat.SP_BASIC_ID info.path like CONCAT(#{path},'%') diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml index 6efe664..4606b2d 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/access/mapper/OperAccessTaskMapper.xml @@ -212,7 +212,7 @@ FROM hzims_oper_access_task t LEFT JOIN hzims_oper_access_plan p ON t.PLAN_ID = p.ID LEFT JOIN hzims_oper_access_material m ON t.ID = m.TASK_ID - LEFT JOIN dev_equipment.hzims_em_info e ON t.EM_CODE = e.NUMBER + LEFT JOIN equipment.hzims_em_info e ON t.EM_CODE = e.NUMBER e.path like CONCAT(#{path},'%') diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml index 0261275..dc61936 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml @@ -92,7 +92,7 @@ (select count(*) from hzims_ticket_info_evaluate e where evaluate = '合格!' and e.id = eval.id) as qualified from hzims_work_ticket_info info LEFT JOIN hzims_ticket_info_evaluate eval ON info.id = eval.ticket_id - LEFT JOIN dev_equipment.hzims_em_info em ON info.em_code = em.NUMBER + LEFT JOIN equipment.hzims_em_info em ON info.em_code = em.NUMBER em.path like CONCAT(#{path},'%')