You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.5 KiB
47 lines
1.5 KiB
package com.spring.modules.quote.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.spring.modules.quote.entity.QuoteDetail;
|
|
import com.spring.modules.quote.entity.QuoteDetailBom;
|
|
import com.spring.modules.quote.entity.QuoteDetailBomTree;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.List;
|
|
|
|
public interface QuoteDetailBomTreeService extends IService<QuoteDetailBomTree> {
|
|
|
|
|
|
long initQuoteDetailBomTree(QuoteDetail detail, Long parentId, Integer level);
|
|
|
|
List<QuoteDetailBomTree> queryDetailBomTree(QuoteDetail detail);
|
|
|
|
|
|
List<Long> getAllChildIds(QuoteDetail detail,Long id);
|
|
|
|
List<QuoteDetailBomTree> queryDetailBomVersion(QuoteDetailBom bom);
|
|
|
|
List<QuoteDetailBomTree> queryDetailBomAlternative(QuoteDetailBom bom);
|
|
|
|
void changeQuoteDetailBomTree(QuoteDetailBomTree tree);
|
|
|
|
|
|
void againQuoteDetailBomTree(QuoteDetail quoteDetail, Long detailId);
|
|
|
|
String queryPart(QuoteDetailBom bom);
|
|
|
|
/**
|
|
* 根据物料编码查询预估材料成本
|
|
* @param site 站点
|
|
* @param partNo 物料编码
|
|
* @return 预估材料成本(estimated_material_cost)
|
|
*/
|
|
BigDecimal queryEstimatedMaterialCost(String site, String partNo);
|
|
|
|
/**
|
|
* 根据物料编码查询物料类型
|
|
* @param site 站点
|
|
* @param partNo 物料编码
|
|
* @return 物料类型(Manufactured/Manufactured Recipe/Purchased/Purchased (raw))
|
|
*/
|
|
String queryPartType(String site, String partNo);
|
|
}
|