|
@@ -167,6 +167,7 @@ public class ParkingRecordServiceImpl extends ServiceImpl<ParkingRecordMapper, P
|
|
|
String primId="";
|
|
|
//入口
|
|
|
if ("1".equals(parkingChannel.getChannelType())) {
|
|
|
+ log.warn(StrUtil.format("车牌号:{},颜色{}", license,colorType));
|
|
|
if ("5f8d343e-63d1-4ef0-9844-855ca020d92b".equals(parkingInfo.getId())){
|
|
|
//黄牌车禁止进入
|
|
|
if(colorType==2){
|
|
@@ -201,6 +202,23 @@ public class ParkingRecordServiceImpl extends ServiceImpl<ParkingRecordMapper, P
|
|
|
if (parkingRecord12 != null) {
|
|
|
throw new Exception(StrUtil.format("进口道闸重复数据,道闸:{},车牌:{},记录:{}", parkingChannel.getChannelName(), license, parkingRecord12.getId()));
|
|
|
}
|
|
|
+ //待测试
|
|
|
+ if ("727289c5-5d02-4f5c-b711-a8e3b6bc5dd0".equals(parkingInfo.getId())){
|
|
|
+ QueryWrapper<ParkingRecord> parkingRecordQueryWrapper13 = new QueryWrapper<>();
|
|
|
+ parkingRecordQueryWrapper13.eq("car_num", license);
|
|
|
+ parkingRecordQueryWrapper13.eq("in_channel_id", parkingChannel.getId());
|
|
|
+ parkingRecordQueryWrapper13.eq("release_status", "1");
|
|
|
+ parkingRecordQueryWrapper13.gt("out_parking_time", DateUtil.offsetMinute(DateUtil.parse(dataStr), -2));
|
|
|
+ parkingRecordQueryWrapper13.orderByDesc("in_parking_time");
|
|
|
+
|
|
|
+ parkingRecordQueryWrapper13.last("LIMIT 1");
|
|
|
+ ParkingRecord parkingRecord13 = getOne(parkingRecordQueryWrapper13);
|
|
|
+ if (parkingRecord13 != null) {
|
|
|
+ throw new Exception(StrUtil.format("徐桥祥云佳园-进口道闸出站后重复进场,道闸:{},车牌:{},记录:{}", parkingChannel.getChannelName(), license, parkingRecord12.getId()));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//add by hbjzws 2024-10-10 鄂DAC066 在2024-10-09 09:34:36出场, 在2024-10-09 09:35:07进场后抬杆的情况处理----处理结果是不写记录,不抬杆111
|
|
|
//if("1".equals(parkingInfo.getId())&&parkingChannel.getChannelName().contains("公寓楼入口")){
|
|
|
if("1".equals(parkingInfo.getId())){
|