From 957fe0a4eda7e4616d91d0b8939901bff6366542 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 05 六月 2023 23:56:51 +0800
Subject: [PATCH] 修改
---
src/main/java/com/boying/controller/phone/YCPayController.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/boying/controller/phone/YCPayController.java b/src/main/java/com/boying/controller/phone/YCPayController.java
index 6eb5003..a4f7935 100644
--- a/src/main/java/com/boying/controller/phone/YCPayController.java
+++ b/src/main/java/com/boying/controller/phone/YCPayController.java
@@ -40,6 +40,7 @@
private final TicketBlackService ticketBlackService;
private final SystemConfigProperties systemConfigProperties;
private final WhiteListService whiteListService;
+ private final EnterParkService enterParkService;
/**
* 鏌ヨ璁㈠崟鎺ュ彛
@@ -261,6 +262,13 @@
orderRecord.setTicketStatus(0);
orderRecord.setPayCode(outPark.getPayCode());
orderRecordService.saveOrUpdate(orderRecord);
+ if(outPark.getImgId() != null){
+ orderRecord.setImgOutId(outPark.getImgId());
+ }
+ EnterPark enterPark = enterParkService.getByCarNoAndDate(outPark.getCarNo(), outPark.getParkId(), outPark.getEnterTime());
+ if(enterPark != null && enterPark.getImgId() != null){
+ orderRecord.setImgInId(enterPark.getImgId());
+ }
}
//鎻掑叆鎵ф硶璁㈠崟璁板綍
--
Gitblit v1.9.1