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)) {
|
||||
for (TypeTreeNode node : listL5) {
|
||||
// 根据协议id以及typeId查询在用量
|
||||
if (bean.getAgreementId() != null) {
|
||||
// 根据工程和班组id查询协议id
|
||||
BmAgreementInfo info = materialLeaseInfoMapper.getAgreeId(bean);
|
||||
// 根据工程和班组id查询协议id
|
||||
BmAgreementInfo info = materialLeaseInfoMapper.getAgreeId(bean);
|
||||
if (info != null) {
|
||||
Type maType = new Type();
|
||||
maType.setAgreementId(info.getAgreementId());
|
||||
maType.setTypeId(node.getTypeId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue