Commit 9a8b7798 by zhanghj

V1.0.0--修复申请换车,新增的拆除单显示为旧的车架号

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18376 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 851495a3
......@@ -1477,11 +1477,16 @@ public class OrderServiceImpl implements IOrderService {
order.setActiveStatus((byte) OrderActiveStatusEnum.ORDER_ACTIVE_STATUS_MECHANIC_NOT_ACCEPT.getActiveStatus());
order.setRepairReason(orderParam.getRepairReason());
if (BizConstants.ORDER_AFTER_SALE_TYPE_CHANGE_CAR == afterSaleType) {
order.setVinNo(orderParam.getVinNo());
order.setCarBrand(orderParam.getCarBrand());
order.setCarSeries(orderParam.getCarSeries());
order.setCarType(orderParam.getCarType());
order.setCarColor(orderParam.getCarColor());
/*
* 更换车辆,拆除单显示旧车架号,安装单显示新的车架号
*/
if (BizConstants.ORDER_TYPE_INSTALL == orderType) {
order.setVinNo(orderParam.getVinNo());
}
}
order.setExpectInstallTime(orderParam.getExpectInstallTime());
order.setCreateTime(now);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!