From d175d9c401fb97ebe6a580005a8c9ad5fedccb6b Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期一, 29 七月 2024 17:02:41 +0800
Subject: [PATCH] add other method
---
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationCtrl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationCtrl.java b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationCtrl.java
index 3508e08..4646f65 100644
--- a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationCtrl.java
+++ b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationCtrl.java
@@ -8,6 +8,7 @@
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pmsGlobal.aop.Log;
import com.dy.pmsGlobal.pojoPlt.PltStation;
+import com.dy.pmsGlobal.util.QrCodeConstant;
import com.dy.pmsGlobal.util.QrCodeUtil;
import com.google.zxing.WriterException;
import jakarta.servlet.http.HttpServletResponse;
@@ -30,7 +31,6 @@
public class StationCtrl {
private static final String fileName = "宸ョ珯淇℃伅" ;
private static final String sheetName = "宸ョ珯淇℃伅" ;
- private static final String stationPrefix = "103" ;
private StationSv sv;
@Autowired
public StationCtrl(StationSv sv){
@@ -143,7 +143,7 @@
// vo.code = "103"+station.id;
vo.lineName = station.lineName;
try {
- vo.qrCode = QrCodeUtil.genQrCode(stationPrefix+station.id);
+ vo.qrCode = QrCodeUtil.genQrCode(QrCodeConstant.TypeStation+station.id);
} catch (IOException e) {
e.printStackTrace();
} catch (WriterException e) {
--
Gitblit v1.8.0