From 76a01586b6308d0524a8ad744779f53c3c7f5792 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期五, 22 三月 2024 15:42:09 +0800
Subject: [PATCH] 出场后删除入场车辆

---
 src/main/java/com/boying/controller/phone/YCPayController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/boying/controller/phone/YCPayController.java b/src/main/java/com/boying/controller/phone/YCPayController.java
index a517dc6..296351e 100644
--- a/src/main/java/com/boying/controller/phone/YCPayController.java
+++ b/src/main/java/com/boying/controller/phone/YCPayController.java
@@ -59,7 +59,7 @@
     private final EnterParkService enterParkService;
     private final WXService wxService;
     private final OutParkLogService outParkLogService;
-    private  StringRedisTemplate redisTemplate;
+    private  final StringRedisTemplate redisTemplate;
 
 
     /**
@@ -682,8 +682,8 @@
                 outPark.setStatus(1);
                 outParkService.saveOrUpdate(outPark);
                 //缂撳瓨鍦╮edis閲�
-//                String jsonValue = JSON.toJSONString(outPark);
-//                redisTemplate.opsForValue().set("outPark-"+outPark.getBarrierId(), jsonValue);
+                String jsonValue = JSON.toJSONString(outPark);
+                redisTemplate.opsForValue().set("outPark-"+outPark.getBarrierId(), jsonValue);
             }
         }
     }

--
Gitblit v1.9.1