diff --git a/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml b/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml index 58cefdc8..74053e6e 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml +++ b/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml @@ -528,12 +528,12 @@ a.`expire_end_time`, a.`convert_to_ebom_time`, a.`remark`, a.`dept_name`,a.`dept_row_id`, a.`level_num`, a.`change_desc`, a.`notice_nums`, a.`modify_time`, a.`sap_state`, a.`sap_time` from t_bom_new_ebom_parent a - left join t_bom_new_ebom_parent_formal b on a.row_id = b.row_id + where a.row_id in #{item} - and b.row_id is null + @@ -543,11 +543,7 @@ where parent_row_id in #{parentRowId} - and parent_row_id not in( - select row_id from t_bom_new_ebom_parent_formal where row_id in - - #{item} - + )