|
|
@ -3533,6 +3533,30 @@ public class OpenOrderServiceImpl implements IOpenOrderService { |
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newVolume = waybillDetailDTO.getVolume(); |
|
|
|
|
|
|
|
BigDecimal volume = warehouseWayBillDetail.getVolume(); |
|
|
|
|
|
|
|
if(!ObjectUtil.equals(volume,newVolume)){ |
|
|
|
|
|
|
|
// stringBuilder.append("明细更新:").append(warehouseWayBillDetail.getProductName()).append(" 单价修改").append(price).append("-->").append(newPrice).append(";");
|
|
|
|
|
|
|
|
EditOrderMsgVO editOrderMsgVO = new EditOrderMsgVO(); |
|
|
|
|
|
|
|
editOrderMsgVO.setItemName("明细更新 "+warehouseWayBillDetail.getProductName() +" 体积修改 "); |
|
|
|
|
|
|
|
editOrderMsgVO.setOldValue(volume.toPlainString()); |
|
|
|
|
|
|
|
editOrderMsgVO.setNewValue(newVolume.toPlainString()); |
|
|
|
|
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newWeight = waybillDetailDTO.getWeight(); |
|
|
|
|
|
|
|
BigDecimal weight = warehouseWayBillDetail.getWeight(); |
|
|
|
|
|
|
|
if(!ObjectUtil.equals(weight,newWeight)){ |
|
|
|
|
|
|
|
// stringBuilder.append("明细更新:").append(warehouseWayBillDetail.getProductName()).append(" 单价修改").append(price).append("-->").append(newPrice).append(";");
|
|
|
|
|
|
|
|
EditOrderMsgVO editOrderMsgVO = new EditOrderMsgVO(); |
|
|
|
|
|
|
|
editOrderMsgVO.setItemName("明细更新 "+warehouseWayBillDetail.getProductName() +" 重量修改 "); |
|
|
|
|
|
|
|
editOrderMsgVO.setOldValue(weight.toPlainString()); |
|
|
|
|
|
|
|
editOrderMsgVO.setNewValue(newWeight.toPlainString()); |
|
|
|
|
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newPrice = waybillDetailDTO.getPrice(); |
|
|
|
BigDecimal newPrice = waybillDetailDTO.getPrice(); |
|
|
|
BigDecimal price = warehouseWayBillDetail.getPrice(); |
|
|
|
BigDecimal price = warehouseWayBillDetail.getPrice(); |
|
|
|
if(price.compareTo(newPrice) != 0){ |
|
|
|
if(price.compareTo(newPrice) != 0){ |
|
|
@ -3544,6 +3568,7 @@ public class OpenOrderServiceImpl implements IOpenOrderService { |
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
msgList.add(editOrderMsgVO); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Integer newChargeType = waybillDetailDTO.getChargeType(); |
|
|
|
Integer newChargeType = waybillDetailDTO.getChargeType(); |
|
|
|
Integer chargeType = warehouseWayBillDetail.getChargeType(); |
|
|
|
Integer chargeType = warehouseWayBillDetail.getChargeType(); |
|
|
|
if(!ObjectUtil.equals(chargeType,newChargeType)){ |
|
|
|
if(!ObjectUtil.equals(chargeType,newChargeType)){ |
|
|
@ -4075,6 +4100,21 @@ public class OpenOrderServiceImpl implements IOpenOrderService { |
|
|
|
warehouseWayBillDetail.setNum(newNum); |
|
|
|
warehouseWayBillDetail.setNum(newNum); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newVolume = waybillDetailDTO.getVolume(); |
|
|
|
|
|
|
|
BigDecimal volume = warehouseWayBillDetail.getVolume(); |
|
|
|
|
|
|
|
if(!ObjectUtil.equals(volume,newVolume)){ |
|
|
|
|
|
|
|
stringBuilder.append("明细更新:").append(warehouseWayBillDetail.getProductName()).append(" 体积修改").append(volume).append("-->").append(newVolume).append(";"); |
|
|
|
|
|
|
|
warehouseWayBillDetail.setVolume(newVolume); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newWeight = waybillDetailDTO.getWeight(); |
|
|
|
|
|
|
|
BigDecimal weight = warehouseWayBillDetail.getWeight(); |
|
|
|
|
|
|
|
if(!ObjectUtil.equals(weight,newWeight)){ |
|
|
|
|
|
|
|
stringBuilder.append("明细更新:").append(warehouseWayBillDetail.getProductName()).append(" 重量修改").append(weight).append("-->").append(newWeight).append(";"); |
|
|
|
|
|
|
|
warehouseWayBillDetail.setWeight(newWeight); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
BigDecimal newPrice = waybillDetailDTO.getPrice(); |
|
|
|
BigDecimal newPrice = waybillDetailDTO.getPrice(); |
|
|
|
BigDecimal price = warehouseWayBillDetail.getPrice(); |
|
|
|
BigDecimal price = warehouseWayBillDetail.getPrice(); |
|
|
|
if (price.compareTo(newPrice) != 0) { |
|
|
|
if (price.compareTo(newPrice) != 0) { |
|
|
@ -4189,7 +4229,7 @@ public class OpenOrderServiceImpl implements IOpenOrderService { |
|
|
|
|
|
|
|
|
|
|
|
String newPayWay = openOrderDTO.getPayWay(); |
|
|
|
String newPayWay = openOrderDTO.getPayWay(); |
|
|
|
String payWay = waybillEntity.getPayWay(); |
|
|
|
String payWay = waybillEntity.getPayWay(); |
|
|
|
if (!ObjectUtil.equals(payType,newPayType)) { |
|
|
|
if (!ObjectUtil.equals(payWay,newPayWay)) { |
|
|
|
stringBuilder.append("付款方式:").append(payWay).append("-->").append(newPayWay).append(";"); |
|
|
|
stringBuilder.append("付款方式:").append(payWay).append("-->").append(newPayWay).append(";"); |
|
|
|
waybillEntity.setPayWay(newPayWay); |
|
|
|
waybillEntity.setPayWay(newPayWay); |
|
|
|
} |
|
|
|
} |
|
|
|