|
|
@ -353,8 +353,12 @@ public class EquOrderServiceImpl implements IEquOrderService {
|
|
|
|
BigDecimal sparePartsCost = equSpareApplyMapper.getSparePartsCost(equOrder.getOrderCode());
|
|
|
|
BigDecimal sparePartsCost = equSpareApplyMapper.getSparePartsCost(equOrder.getOrderCode());
|
|
|
|
BigDecimal orderCost = equOrder.getOrderCost();
|
|
|
|
BigDecimal orderCost = equOrder.getOrderCost();
|
|
|
|
if (orderCost!=null) {
|
|
|
|
if (orderCost!=null) {
|
|
|
|
|
|
|
|
if (sparePartsCost==null) {
|
|
|
|
|
|
|
|
equOrder.setOrderCost(orderCost);
|
|
|
|
|
|
|
|
}else {
|
|
|
|
equOrder.setOrderCost(sparePartsCost.add(orderCost));
|
|
|
|
equOrder.setOrderCost(sparePartsCost.add(orderCost));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 保养图片
|
|
|
|
// 保养图片
|
|
|
|
if (StringUtils.isNotEmpty(equOrder.getPicturePath())) {
|
|
|
|
if (StringUtils.isNotEmpty(equOrder.getPicturePath())) {
|
|
|
|