Merge branch 'refs/heads/feature/DM/nflg-bom-dq' into feature/DM/nflg-bom-transition

This commit is contained in:
曹鹏飞 2024-06-02 20:09:17 +08:00
commit 75443db826
2 changed files with 1 additions and 4 deletions

View File

@ -12,9 +12,6 @@ import java.util.List;
*/
public interface BomNewDQbomChildMapper extends BaseMapper<BomNewDQbomChildEntity> {
void deleteAllChildren(Long parentRowId);
List<BomNewDQbomVO> getBomsByParentRowId(Long rowId);
List<BomNewDQbomVO> getBom(Long parentRowId, String materialNo);

View File

@ -4,7 +4,7 @@
<select id="getBomsByParentRowId" resultType="com.nflg.product.bomnew.pojo.vo.BomNewDQbomVO">
SELECT c.*, p.row_id AS bomRowId, p.created_by AS bomCreateBy
FROM t_bom_new_dqbom_child c
LEFT JOIN t_bom_new_dqbom_parent p ON p.material_no = c.material_no
LEFT JOIN t_bom_new_dqbom_parent p ON p.material_no = c.material_no AND p.`status` = 1
WHERE c.parent_row_id = #{rowId};
</select>