保养记录填写BUG解决

master
wws 1 year ago
parent 22c08bcadb
commit 9bc2c103ea

@ -352,7 +352,9 @@ public class EquOrderServiceImpl implements IEquOrderService {
// 费用
BigDecimal sparePartsCost = equSpareApplyMapper.getSparePartsCost(equOrder.getOrderCode());
BigDecimal orderCost = equOrder.getOrderCost();
equOrder.setOrderCost(sparePartsCost.add(orderCost));
if (orderCost!=null) {
equOrder.setOrderCost(sparePartsCost.add(orderCost));
}
// 保养图片
if (StringUtils.isNotEmpty(equOrder.getPicturePath())) {

Loading…
Cancel
Save