| | |
| | | @Mapper |
| | | public interface ProductStructureMapper extends BaseMapper<ProductStructure> { |
| | | |
| | | List<ProductStructureDto> listBybomId(@Param("bomId") Integer bomId); |
| | | /** |
| | | * 查询BOM子集 |
| | | * @param bomId |
| | | * @param isParent 是否需要父级 true 返回子级 false 返回子父级 |
| | | * @return |
| | | */ |
| | | List<ProductStructureDto> listBybomId(@Param("bomId") Integer bomId,@Param("isParent") boolean isParent); |
| | | |
| | | List<ProductStructureDto> listBybomAndProcess(@Param("bomId") Integer bomId, @Param("processId") Long processId); |
| | | List<ProductStructureDto> listBybomAndProcess(@Param("processId") Long processId); |
| | | } |