相关bug修改

master
wany 2026-03-12 11:16:11 +08:00
parent 35c6d2f28e
commit f8b4d4972a
3 changed files with 6 additions and 1 deletions

View File

@ -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;
}

View File

@ -74,6 +74,8 @@ public class StFlowRService extends ServiceImpl<StFlowRMapper, StFlowR> {
StFlowRLatestVo vo = new StFlowRLatestVo();
vo.setStcd(flowStation.getStcd());
vo.setStnm(flowStation.getStnm());
vo.setLgtd(flowStation.getLgtd());
vo.setLttd(flowStation.getLttd());
List<StFlowR> list = lambdaQuery()
.eq(StFlowR::getStcd, vo.getStcd())

View File

@ -101,7 +101,7 @@ public class WarningRuleInfoService extends ServiceImpl<WarningRuleInfoMapper,Wa
}
info.setFirstAuditStatus(dto.getStatus());
info.setFirstAuditTime(LocalDateTime.now());
if (info.getSecondAuditUserId() == null){
if (info.getSecondAuditUserId() == null || dto.getStatus() == 9){
info.setStatus(dto.getStatus());
}
}