fix: 优化逻辑
This commit is contained in:
parent
be14b5aaf2
commit
0395e1cd5c
@ -72,6 +72,9 @@ public class FpFpssrlQueryVo {
|
|||||||
@Schema(description = "游向")
|
@Schema(description = "游向")
|
||||||
private String direction;
|
private String direction;
|
||||||
|
|
||||||
|
@Schema(description = "游向中文")
|
||||||
|
private String directionName;
|
||||||
|
|
||||||
@Schema(description = "水温")
|
@Schema(description = "水温")
|
||||||
private String temperature;
|
private String temperature;
|
||||||
|
|
||||||
|
|||||||
@ -1635,6 +1635,7 @@ public class FpRunServiceImpl implements FpRunService {
|
|||||||
selectMap.put("width", "t.width AS width");
|
selectMap.put("width", "t.width AS width");
|
||||||
selectMap.put("fishspeed", "t.fishspeed AS fishspeed");
|
selectMap.put("fishspeed", "t.fishspeed AS fishspeed");
|
||||||
selectMap.put("direction", "t.direction AS direction");
|
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("temperature", "t.temperature AS temperature");
|
||||||
selectMap.put("speed", "t.speed AS speed");
|
selectMap.put("speed", "t.speed AS speed");
|
||||||
selectMap.put("channelno", "t.channelno AS channelno");
|
selectMap.put("channelno", "t.channelno AS channelno");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user