Commit 3c99b937 by 杨林龙

优化设备同步逻辑

1 parent 405ce916
...@@ -93,6 +93,7 @@ public class VehicleDeviceService { ...@@ -93,6 +93,7 @@ public class VehicleDeviceService {
vehicleDevice.setSn(sn); vehicleDevice.setSn(sn);
vehicleDevice.setBindStatus(ConstantsDevice.BIND_VEHICLE_STATUS); vehicleDevice.setBindStatus(ConstantsDevice.BIND_VEHICLE_STATUS);
vehicleDevice.setTrialType(ConstantsDevice.TRIAL_DEVICE_TYPE); vehicleDevice.setTrialType(ConstantsDevice.TRIAL_DEVICE_TYPE);
vehicleDevice.setHisType(ConstantsDevice.HIS_TRIAL_DEVICE_TYPE);
vehicleDevice.setCreatedBy(userId); vehicleDevice.setCreatedBy(userId);
vehicleDevice.setCreatedDate(new Date()); vehicleDevice.setCreatedDate(new Date());
vehicleDeviceMapper.insertSelective(vehicleDevice); vehicleDeviceMapper.insertSelective(vehicleDevice);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!