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, " +