修改烧结磨具计划详情bug

liweidong
liweidong-hj 5 days ago
parent 8cd1c5a4bf
commit 9f5b730a35
  1. 12
      blade-service/blade-desk/src/main/java/org/springblade/desk/order/service/impl/MoldDemandServiceImpl.java

@ -130,11 +130,13 @@ public class MoldDemandServiceImpl extends BaseServiceImpl<MoldDemandMapper, Mol
vo.setLinkOrderList(orderList); vo.setLinkOrderList(orderList);
} }
MoldApply moldApply = moldApplyService.getDetailByPartCode(detail.getPartCode()); MoldApply moldApply = moldApplyService.getDetailByPartCode(detail.getPartCode());
MoldApplyVo moldApplyVo = MoldApplyWrapper.build().entityVO(moldApply); if(null != moldApply){
List<MoldApplyVo> moldApplyList = new ArrayList<>(); MoldApplyVo moldApplyVo = MoldApplyWrapper.build().entityVO(moldApply);
moldApplyList.add(moldApplyVo); List<MoldApplyVo> moldApplyList = new ArrayList<>();
vo.setToolUseList(null); moldApplyList.add(moldApplyVo);
vo.setNearlyApplyList(moldApplyList); vo.setToolUseList(null);
vo.setNearlyApplyList(moldApplyList);
}
return vo; return vo;
} }
} }

Loading…
Cancel
Save