Commit cf175c6f by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26653 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6c9db246
...@@ -1992,21 +1992,9 @@ public class OrderServiceImpl implements IOrderService { ...@@ -1992,21 +1992,9 @@ public class OrderServiceImpl implements IOrderService {
supplier.setSort(sysOrderDevice.getSort()); supplier.setSort(sysOrderDevice.getSort());
sysOrderDeviceSupplierMapper.updateSupplier(supplier); 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()); List<SysOrder> sysOrders = orderDao.queryOrderByWorkOrderNo(oneOrder.getWorkOrderNo());
if(!CollectionUtils.isEmpty(sysOrders)&&sysOrders.size()<2){ if(!CollectionUtils.isEmpty(sysOrders)){
boolean syncFlag = true; boolean syncFlag = true;
for (SysOrder sys_Order : sysOrders){ for (SysOrder sys_Order : sysOrders){
if(sys_Order.getActiveStatus()<8){ if(sys_Order.getActiveStatus()<8){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!