diff --git a/src/main/java/com/gunshi/project/ss/entity/vo/StFlowRLatestVo.java b/src/main/java/com/gunshi/project/ss/entity/vo/StFlowRLatestVo.java index 204463d..8cf13a5 100644 --- a/src/main/java/com/gunshi/project/ss/entity/vo/StFlowRLatestVo.java +++ b/src/main/java/com/gunshi/project/ss/entity/vo/StFlowRLatestVo.java @@ -40,4 +40,7 @@ public class StFlowRLatestVo { @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime tm; + + private BigDecimal lgtd; + private BigDecimal lttd; } diff --git a/src/main/java/com/gunshi/project/ss/service/StFlowRService.java b/src/main/java/com/gunshi/project/ss/service/StFlowRService.java index 7a6f8b6..2bb1d2d 100644 --- a/src/main/java/com/gunshi/project/ss/service/StFlowRService.java +++ b/src/main/java/com/gunshi/project/ss/service/StFlowRService.java @@ -74,6 +74,8 @@ public class StFlowRService extends ServiceImpl { StFlowRLatestVo vo = new StFlowRLatestVo(); vo.setStcd(flowStation.getStcd()); vo.setStnm(flowStation.getStnm()); + vo.setLgtd(flowStation.getLgtd()); + vo.setLttd(flowStation.getLttd()); List list = lambdaQuery() .eq(StFlowR::getStcd, vo.getStcd()) diff --git a/src/main/java/com/gunshi/project/ss/service/WarningRuleInfoService.java b/src/main/java/com/gunshi/project/ss/service/WarningRuleInfoService.java index dbefa2b..7c00951 100644 --- a/src/main/java/com/gunshi/project/ss/service/WarningRuleInfoService.java +++ b/src/main/java/com/gunshi/project/ss/service/WarningRuleInfoService.java @@ -101,7 +101,7 @@ public class WarningRuleInfoService extends ServiceImpl