Commit 9bd903bb by zhanghj

V1.5.0--历史数据,售后单都要添加安装位置

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24951 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent a45ac629
......@@ -205,7 +205,6 @@ public class HistoricalDataProcessingServiceImpl implements
o.setId(id);
o.setServiceCode(serviceCode);
orderDao.updateByPrimaryKeySelective(o);
if (OrderActiveStatusEnum.ORDER_ACTIVE_STATUS_FINISH.getActiveStatus()== activeStatus) {
SysOrderDevice orderDevice = new SysOrderDevice();
orderDevice.setOrderId(id);
orderDevice.setDeviceNo(deviceNo);
......@@ -214,14 +213,6 @@ public class HistoricalDataProcessingServiceImpl implements
orderDevice.setSort(1);
orderDeviceDao.insertSelective(orderDevice);
} else {
SysOrderDevice orderDevice = new SysOrderDevice();
orderDevice.setOrderId(id);
orderDevice.setDeviceNo(deviceNo);
orderDevice.setDeviceType(installDeviceType);
orderDevice.setSort(1);
orderDeviceDao.insertSelective(orderDevice);
}
} else {
installOrderList.add(sysOrder);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!