From 1076d58f3a86a25814161b54b705893f007cba3d Mon Sep 17 00:00:00 2001 From: tangwei Date: Thu, 11 Jun 2026 13:57:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=BF=87=E9=B1=BC?= =?UTF-8?q?=E8=AE=BE=E6=96=BD=E6=B8=B8=E5=90=91=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yfd/platform/qgc_env/fp/entity/vo/FpSdfpssrVo.java | 2 +- .../yfd/platform/qgc_env/fp/service/impl/FpRunServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/yfd/platform/qgc_env/fp/entity/vo/FpSdfpssrVo.java b/backend/src/main/java/com/yfd/platform/qgc_env/fp/entity/vo/FpSdfpssrVo.java index 64fada9b..f9b0d928 100644 --- a/backend/src/main/java/com/yfd/platform/qgc_env/fp/entity/vo/FpSdfpssrVo.java +++ b/backend/src/main/java/com/yfd/platform/qgc_env/fp/entity/vo/FpSdfpssrVo.java @@ -73,7 +73,7 @@ public class FpSdfpssrVo { private Integer direction; @Schema(description = "游向") - private Integer directionName; + private String directionName; @Schema(description = "监测方式") private Integer mway; diff --git a/backend/src/main/java/com/yfd/platform/qgc_env/fp/service/impl/FpRunServiceImpl.java b/backend/src/main/java/com/yfd/platform/qgc_env/fp/service/impl/FpRunServiceImpl.java index 68e0e443..9c81ca56 100644 --- a/backend/src/main/java/com/yfd/platform/qgc_env/fp/service/impl/FpRunServiceImpl.java +++ b/backend/src/main/java/com/yfd/platform/qgc_env/fp/service/impl/FpRunServiceImpl.java @@ -783,7 +783,7 @@ public class FpRunServiceImpl implements FpRunService { "t.PICPTH AS picpth, " + "t.VDPTH AS vdpth, " + "t.DIRECTION AS direction, " + - "t.DIRECTION AS directionName, " + + " CASE t.DIRECTION WHEN 0 THEN '上行' WHEN 1 THEN '下行' WHEN 2 THEN '上行折返' WHEN 3 THEN '下行折返' END AS directionName, " + "1 AS mway, " + "t.STRDT AS strdt, " + "t.ENDDT AS enddt, " +