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},'%')