Browse Source

[fix]工程管理

去掉bom查询接口上审核状态和使用状态的筛选条件
dev
liuxiaoxu 3 months ago
parent
commit
cc00e6a390
  1. 4
      ruoyi-admin/src/main/java/com/ruoyi/erp/service/impl/ErpBomServiceImpl.java

4
ruoyi-admin/src/main/java/com/ruoyi/erp/service/impl/ErpBomServiceImpl.java

@ -176,8 +176,6 @@ private ISysAttachService attachService;
@Override @Override
public List<ErpBom> selectErpBomAllLevelList(ErpBom erpBom) { public List<ErpBom> selectErpBomAllLevelList(ErpBom erpBom) {
List<ErpBom> resultList = new ArrayList<>(); List<ErpBom> resultList = new ArrayList<>();
erpBom.setAuditStatus("1");
erpBom.setUseStatus("1");
// 一阶集合 // 一阶集合
List<ErpBom> oneLevelList = erpBomMapper.selectErpBomSubList(erpBom); List<ErpBom> oneLevelList = erpBomMapper.selectErpBomSubList(erpBom);
if(CollectionUtils.isNotEmpty(oneLevelList)){ if(CollectionUtils.isNotEmpty(oneLevelList)){
@ -198,8 +196,6 @@ private ISysAttachService attachService;
Long subId = subBom.getId(); Long subId = subBom.getId();
ErpBom erpBom1 = new ErpBom(); ErpBom erpBom1 = new ErpBom();
erpBom1.setParentId(subId); erpBom1.setParentId(subId);
erpBom1.setAuditStatus("1");
erpBom1.setUseStatus("1");
List<ErpBom> subLevelList = erpBomMapper.selectErpBomSubList(erpBom1); List<ErpBom> subLevelList = erpBomMapper.selectErpBomSubList(erpBom1);
if(CollectionUtils.isNotEmpty(subLevelList)){ if(CollectionUtils.isNotEmpty(subLevelList)){
for (ErpBom sub: subLevelList) { for (ErpBom sub: subLevelList) {

Loading…
Cancel
Save