From 2a431ace3a7b7dcdd313bb2fa0eff5bb727946f8 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期四, 24 八月 2023 14:38:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
server/src/main/java/doumeemes/service/ext/impl/MaterialDistributeExtServiceImpl.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/server/src/main/java/doumeemes/service/ext/impl/MaterialDistributeExtServiceImpl.java b/server/src/main/java/doumeemes/service/ext/impl/MaterialDistributeExtServiceImpl.java
index 2c9fc47..3c2fa44 100644
--- a/server/src/main/java/doumeemes/service/ext/impl/MaterialDistributeExtServiceImpl.java
+++ b/server/src/main/java/doumeemes/service/ext/impl/MaterialDistributeExtServiceImpl.java
@@ -10,6 +10,7 @@
import doumeemes.dao.ext.MaterialDistributeExtMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
+import doumeemes.service.ext.ProceduresExtService;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -25,6 +26,9 @@
@Service
public class MaterialDistributeExtServiceImpl implements MaterialDistributeExtService {
+
+ @Autowired
+ private ProceduresExtService proceduresExtService;
@Autowired
private MaterialDistributeExtMapper materialDistributeExtMapper;
@@ -50,6 +54,10 @@
mev.setUnionCategoryName(mev.getCmodelName());
}
}
+ if(mev.getHasBom() >0 && Constants.equalsInteger(pageWrap.getModel().getQueryType(),Constants.ONE)){
+ //濡傛灉闇�瑕佹煡璇㈠伐鑹鸿矾绾垮伐搴�,鏌ヨbom鍏宠仈宸ヨ壓璺嚎鐨勬墍鏈夊伐搴�
+ mev.setProcedureList(proceduresExtService.getListByMaterialId(mev.getId()));
+ }
}
}
return PageData.from(new PageInfo<>(result));
--
Gitblit v1.9.3