This commit is contained in:
parent
5e9f28a5d5
commit
478d5beac7
|
|
@ -969,10 +969,9 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
|
||||||
}
|
}
|
||||||
if (org.apache.commons.collections4.CollectionUtils.isNotEmpty(listL5)) {
|
if (org.apache.commons.collections4.CollectionUtils.isNotEmpty(listL5)) {
|
||||||
for (TypeTreeNode node : listL5) {
|
for (TypeTreeNode node : listL5) {
|
||||||
// 根据协议id以及typeId查询在用量
|
// 根据工程和班组id查询协议id
|
||||||
if (bean.getAgreementId() != null) {
|
BmAgreementInfo info = materialLeaseInfoMapper.getAgreeId(bean);
|
||||||
// 根据工程和班组id查询协议id
|
if (info != null) {
|
||||||
BmAgreementInfo info = materialLeaseInfoMapper.getAgreeId(bean);
|
|
||||||
Type maType = new Type();
|
Type maType = new Type();
|
||||||
maType.setAgreementId(info.getAgreementId());
|
maType.setAgreementId(info.getAgreementId());
|
||||||
maType.setTypeId(node.getTypeId());
|
maType.setTypeId(node.getTypeId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue