Files
klp-oa/klp-wms/src/main/java/com/klp/service/IWmsRawMaterialService.java
Joshi 5bd8769a7b feat(wms): 新增产品和原材料BOM信息查询功能
- 在IWmsProductService接口中新增queryPageListWithBom方法
- 在IWmsRawMaterialService接口中新增queryPageListWithBom方法
- 在WmsProductController中新增listWithBom接口
- 在WmsRawMaterialController中新增listWithBom接口
- 在WmsProductServiceImpl中实现queryPageListWithBom及fillBomInfo逻辑
- 在WmsRawMaterialServiceImpl中实现queryPageListWithBom及fillBomInfo逻辑
- 在WmsProductVo和WmsRawMaterialVo中新增bomItems字段用于存储BOM明细信息
2025-10-31 15:57:48 +08:00

60 lines
1.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.service;
import com.klp.domain.WmsRawMaterial;
import com.klp.domain.vo.WmsRawMaterialVo;
import com.klp.domain.bo.WmsRawMaterialBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
import java.util.Collection;
import java.util.List;
/**
* 原材料Service接口
*
* @author Joshi
* @date 2025-07-18
*/
public interface IWmsRawMaterialService {
/**
* 查询原材料
*/
WmsRawMaterialVo queryById(Long rawMaterialId);
/**
* 查询原材料列表
*/
TableDataInfo<WmsRawMaterialVo> queryPageList(WmsRawMaterialBo bo, PageQuery pageQuery);
/**
* 查询原材料列表
*/
List<WmsRawMaterialVo> queryList(WmsRawMaterialBo bo);
/**
* 新增原材料
*/
WmsRawMaterialBo insertByBo(WmsRawMaterialBo bo);
/**
* 修改原材料
*/
Boolean updateByBo(WmsRawMaterialBo bo);
/**
* 校验并批量删除原材料信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 查询原材料列表(含需求、库存、在途信息)
*/
TableDataInfo<WmsRawMaterialVo> queryPageListWithDemand(WmsRawMaterialBo bo, PageQuery pageQuery);
/**
* 查询原材料列表带BOM信息
*/
TableDataInfo<WmsRawMaterialVo> queryPageListWithBom(WmsRawMaterialBo bo, PageQuery pageQuery);
}