Commit f449ba70 by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26650 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 2260072c
......@@ -1992,6 +1992,19 @@ public class OrderServiceImpl implements IOrderService {
supplier.setSort(sysOrderDevice.getSort());
sysOrderDeviceSupplierMapper.updateSupplier(supplier);
}
//加装类型
// if(3==repairType){
// for (SysOrderDevice sysOrderDevice : orderDeviceList){
// SysOrderDevice orderDevice = new SysOrderDevice();
// orderDevice.setOrderId(orderId);
// orderDevice.setDeviceNo(sysOrderDevice.getDeviceNo());
// orderDevice.setDeviceType(sysOrderDevice.getDeviceType());
// orderDevice.setInstallLocation(sysOrderDevice.getInstallLocation());
// orderDevice.setSort(sysOrderDevice.getSort());
// orderDeviceDao.insertSelective(orderDevice);
// }
// }
List<SysOrder> sysOrders = orderDao.queryOrderByWorkOrderNo(oneOrder.getWorkOrderNo());
if(!CollectionUtils.isEmpty(sysOrders)&&sysOrders.size()<2){
boolean syncFlag = true;
......@@ -2007,6 +2020,9 @@ public class OrderServiceImpl implements IOrderService {
repairOrderFeedBackTask.setWorkOrderNo(oneOrder.getWorkOrderNo());
repairOrderFeedBackTask.setSysOrderMapper(orderDao);
repairOrderFeedBackTask.setOrderRepairReq(orderRepairReq);
if(!CollectionUtils.isEmpty(orderDeviceList)){
repairOrderFeedBackTask.setOldDeviceNo(orderDeviceList.get(0).getOldDeviceNo());
}
repairOrderFeedBackTask.setSysOrderDeviceMapper(orderDeviceDao);
repairOrderFeedBackTask.setSysOrderFileMapper(sysOrderFileDao);
repairOrderFeedBackTask.setSysOrderDeviceSupplierMapper(sysOrderDeviceSupplierMapper);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!