|
|
@ -4,9 +4,11 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.ssf.mysqloracletest.domain.BoneVehicle;
|
|
|
|
import com.ssf.mysqloracletest.domain.BoneVehicle;
|
|
|
|
|
|
|
|
import com.ssf.mysqloracletest.domain.DevopsDeviceInfo;
|
|
|
|
import com.ssf.mysqloracletest.domain.TMotorvehicle;
|
|
|
|
import com.ssf.mysqloracletest.domain.TMotorvehicle;
|
|
|
|
import com.ssf.mysqloracletest.domain.TransitVehicleRecord;
|
|
|
|
import com.ssf.mysqloracletest.domain.TransitVehicleRecord;
|
|
|
|
import com.ssf.mysqloracletest.service.BoneVehicleService;
|
|
|
|
import com.ssf.mysqloracletest.service.BoneVehicleService;
|
|
|
|
|
|
|
|
import com.ssf.mysqloracletest.service.DevopsDeviceInfoService;
|
|
|
|
import com.ssf.mysqloracletest.service.TMotorvehicleService;
|
|
|
|
import com.ssf.mysqloracletest.service.TMotorvehicleService;
|
|
|
|
import com.ssf.mysqloracletest.service.TransitVehicleRecordService;
|
|
|
|
import com.ssf.mysqloracletest.service.TransitVehicleRecordService;
|
|
|
|
import com.ssf.mysqloracletest.utils.ConfigParam;
|
|
|
|
import com.ssf.mysqloracletest.utils.ConfigParam;
|
|
|
@ -34,6 +36,8 @@ public class TMotorvehicleTask {
|
|
|
|
|
|
|
|
|
|
|
|
private final BoneVehicleService boneVehicleService;
|
|
|
|
private final BoneVehicleService boneVehicleService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final DevopsDeviceInfoService devopsDeviceInfoService;
|
|
|
|
|
|
|
|
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String maxTime = "20231226000000";
|
|
|
|
String maxTime = "20231226000000";
|
|
|
|
|
|
|
|
|
|
|
@ -79,6 +83,8 @@ public class TMotorvehicleTask {
|
|
|
|
vehicleRecord.setIdCard(one2.getOwnerPersonIdcard());
|
|
|
|
vehicleRecord.setIdCard(one2.getOwnerPersonIdcard());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
vehicleRecord.setDoorwayCode(Tmvehicle.getTollgateid());
|
|
|
|
vehicleRecord.setDoorwayCode(Tmvehicle.getTollgateid());
|
|
|
|
|
|
|
|
DevopsDeviceInfo devopsDeviceInfo = devopsDeviceInfoService.lambdaQuery().eq(DevopsDeviceInfo::getGbsChannelNo, Tmvehicle.getTollgateid()).list().get(0);
|
|
|
|
|
|
|
|
vehicleRecord.setDeviceAddress(devopsDeviceInfo.getDeviceName());
|
|
|
|
vehicleRecord.setGbsChannelNo(Tmvehicle.getDeviceid());
|
|
|
|
vehicleRecord.setGbsChannelNo(Tmvehicle.getDeviceid());
|
|
|
|
vehicleRecord.setGlobalPic(Tmvehicle.getStorageurl1());
|
|
|
|
vehicleRecord.setGlobalPic(Tmvehicle.getStorageurl1());
|
|
|
|
vehicleRecord.setPlatePic(Tmvehicle.getStorageurl2());
|
|
|
|
vehicleRecord.setPlatePic(Tmvehicle.getStorageurl2());
|
|
|
|