chenhj
2026-04-21 2f20856ea3ca6f2f238ba66252164687f47fcd7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.ruoyi.production.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.production.dto.ProductOrderMaterialDto;
import com.ruoyi.production.dto.ProductStructureDto;
import com.ruoyi.production.pojo.ProductOrderMaterial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
@Mapper
public interface ProductOrderMaterialMapper extends BaseMapper<ProductOrderMaterial> {
 
    IPage<ProductOrderMaterial> pickMaterial(@Param("id") Long ProductOrderId);
 
    List<ProductStructureDto> selectLeafNode(@Param("bomId") Long bomId);
 
    List<ProductOrderMaterialDto> selectByProductModelIds(@Param("ids") List<Long> productModelIds);
}