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