新增注解

master
yangzhe123 2025-11-17 15:40:35 +08:00
parent 74000d3ecb
commit fcd21e42fb
3 changed files with 7 additions and 7 deletions

View File

@ -81,11 +81,4 @@ public class SyRegressionData implements Serializable {
@Schema(description = "排序(一阶-四阶)") @Schema(description = "排序(一阶-四阶)")
private Integer order; private Integer order;
/**
*
*/
@TableField(value = "create_time")
@Schema(description = "创建时间")
@JsonFormat(pattern = DateFormatString.YYYY_MM_DD_HH_MM_SS, timezone = "GMT+8")
private Date createTime;
} }

View File

@ -147,6 +147,9 @@ public class AlarmTask {
return; return;
}else{ }else{
BigDecimal rz =stRiverRReal.getZ(); BigDecimal rz =stRiverRReal.getZ();
if(rz == null){
return;
}
if(rz.compareTo(warnWaterLevel) >=0 && rz.compareTo(promiseWaterLevel) <=0){ if(rz.compareTo(warnWaterLevel) >=0 && rz.compareTo(promiseWaterLevel) <=0){
BigDecimal gap = rz.subtract(warnWaterLevel); BigDecimal gap = rz.subtract(warnWaterLevel);
//河道超警戒 //河道超警戒

View File

@ -12,6 +12,10 @@ import java.util.stream.Collectors;
/** /**
* *
*
*
* rzx
* valuey
*/ */
public class RegressionAnalysis { public class RegressionAnalysis {