fix: 优化逻辑

This commit is contained in:
tangwei 2026-06-24 14:59:47 +08:00
parent be14b5aaf2
commit 0395e1cd5c
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,9 @@ public class FpFpssrlQueryVo {
@Schema(description = "游向")
private String direction;
@Schema(description = "游向中文")
private String directionName;
@Schema(description = "水温")
private String temperature;

View File

@ -1635,6 +1635,7 @@ public class FpRunServiceImpl implements FpRunService {
selectMap.put("width", "t.width AS width");
selectMap.put("fishspeed", "t.fishspeed AS fishspeed");
selectMap.put("direction", "t.direction AS direction");
selectMap.put("directionName", "CASE t.direction WHEN '0' THEN '上行' WHEN '1' THEN '下行' WHEN '2' THEN '上行折返' WHEN '3' THEN '下行折返' END AS directionName");
selectMap.put("temperature", "t.temperature AS temperature");
selectMap.put("speed", "t.speed AS speed");
selectMap.put("channelno", "t.channelno AS channelno");