Merge branch 'main' of http://121.37.111.42:3000/zhengsl/WholeProcessPlatform into main_hzz
This commit is contained in:
commit
fed769ec24
@ -0,0 +1,12 @@
|
||||
package com.yfd.platform.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.FIELD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface FieldChinese {
|
||||
String value() default "";
|
||||
}
|
||||
@ -61,6 +61,8 @@ public class SecurityConfig {
|
||||
.requestMatchers("/tempFile/**").permitAll()
|
||||
.requestMatchers("/system/user/auditUser").permitAll()
|
||||
.requestMatchers("/register/accessToken").permitAll()
|
||||
.requestMatchers("/sys/psbmodulelbb/**").permitAll()
|
||||
.requestMatchers("/base/operationLog/**").permitAll()
|
||||
// .requestMatchers("/eng/**").permitAll()
|
||||
// .requestMatchers("/eq/**").permitAll()
|
||||
// .requestMatchers("/env/**").permitAll()
|
||||
|
||||
@ -0,0 +1,46 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLog;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLogDetail;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 操作日志控制器
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/base/operationLog")
|
||||
@Tag(name = "操作日志管理")
|
||||
public class MsOperationLogController {
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@PostMapping("/GetKendoListCust")
|
||||
@Operation(summary = "分页查询操作日志(tableName必传,recordId可选)")
|
||||
public ResponseResult getKendoList(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
Page<MsOperationLog> page = msOperationLogService.queryPageList(dataSourceRequest);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@GetMapping("/getDetailByMainId")
|
||||
@Operation(summary = "根据日志主表ID查询日志详情")
|
||||
public ResponseResult getDetailByMainId(@RequestParam("mainId") String mainId) {
|
||||
if (StringUtils.isBlank(mainId)) {
|
||||
return ResponseResult.error("mainId 不能为空");
|
||||
}
|
||||
List<MsOperationLogDetail> list = msOperationLogService.getDetailByMainId(mainId);
|
||||
return ResponseResult.successData(list);
|
||||
}
|
||||
}
|
||||
@ -2,6 +2,8 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.UserIdField;
|
||||
import com.yfd.platform.annotation.UserNameField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@ -64,8 +66,13 @@ public class MsWarnRuleB implements Serializable {
|
||||
// ---------- 审计字段 ----------
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
@UserIdField
|
||||
private String recordUser;
|
||||
|
||||
@TableField(exist = false)
|
||||
@UserNameField
|
||||
private String recordUserName;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -25,16 +26,19 @@ public class SdAiboxBH implements Serializable {
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("测站编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
@FieldChinese("测站名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
@FieldChinese("测站类型")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -44,43 +48,51 @@ public class SdAiboxBH implements Serializable {
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
@FieldChinese("位置经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
@FieldChinese("位置纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
@FieldChinese("站址")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@FieldChinese("建成日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@FieldChinese("退役/拆除日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
@FieldChinese("建设状态代码")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -89,11 +101,13 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -102,12 +116,14 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@FieldChinese("数据接入时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 监测方式
|
||||
*/
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -116,16 +132,19 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 站索引
|
||||
*/
|
||||
@FieldChinese("站索引")
|
||||
private String stindx;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
@FieldChinese("关联测站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -134,6 +153,7 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
@FieldChinese("所属基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -142,11 +162,13 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
@FieldChinese("所属基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
@FieldChinese("所属流域代码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -155,114 +177,136 @@ public class SdAiboxBH implements Serializable {
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
@FieldChinese("LOGO")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
@FieldChinese("介绍文件")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@FieldChinese("服务对象")
|
||||
private String fwdx;
|
||||
|
||||
/**
|
||||
* 供电方式
|
||||
*/
|
||||
@FieldChinese("供电方式")
|
||||
private String gdfs;
|
||||
|
||||
/**
|
||||
* AI配置
|
||||
*/
|
||||
@FieldChinese("AI配置")
|
||||
private String aipz;
|
||||
|
||||
/**
|
||||
* 模型版本
|
||||
*/
|
||||
@FieldChinese("模型版本")
|
||||
private String mxbb;
|
||||
|
||||
/**
|
||||
* IP地址
|
||||
*/
|
||||
@FieldChinese("IP地址")
|
||||
private String ipaddr;
|
||||
|
||||
/**
|
||||
* SIM卡信息
|
||||
*/
|
||||
@FieldChinese("SIM卡信息")
|
||||
private String siminfo;
|
||||
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
@FieldChinese("联系人")
|
||||
private String lxr;
|
||||
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
@FieldChinese("用途")
|
||||
private String purpose;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
@FieldChinese("数据频率")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
@FieldChinese("植被覆盖类型")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("植被覆盖调查时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@FieldChinese("更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
@FieldChinese("删除时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@ -18,154 +19,233 @@ import java.util.Date;
|
||||
public class SdAimonitorBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 站码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("站码")
|
||||
private String stcd;
|
||||
|
||||
/** 站名 */
|
||||
@FieldChinese("站名")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度(单位:°)")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度(单位:°)")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程(单位:m)")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
/** 建设状态分类 */
|
||||
@TableField("BLDSTT_CODE")
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/** 监测方式 */
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String mwayName;
|
||||
|
||||
/** 监测指标 */
|
||||
@TableField("STINDX")
|
||||
@FieldChinese("监测指标")
|
||||
private String stindx;
|
||||
|
||||
/** 排序 */
|
||||
@TableField("ORDER_INDEX")
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/** 所属水电基地编码 */
|
||||
@TableField("BASE_ID")
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次(单位:min)")
|
||||
private Integer dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/** 数据来源时间 */
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/** 服务对象 */
|
||||
@TableField("FWDX")
|
||||
@FieldChinese("服务对象")
|
||||
private String fwdx;
|
||||
|
||||
/** 供电方式 */
|
||||
@TableField("GDFS")
|
||||
@FieldChinese("供电方式")
|
||||
private String gdfs;
|
||||
|
||||
/** AI盒子配置 */
|
||||
@TableField("AIPZ")
|
||||
@FieldChinese("AI盒子配置")
|
||||
private String aipz;
|
||||
|
||||
/** 模型版本 */
|
||||
@TableField("MXBB")
|
||||
@FieldChinese("模型版本")
|
||||
private String mxbb;
|
||||
|
||||
/** IP地址 */
|
||||
@TableField("IPADDR")
|
||||
@FieldChinese("IP地址")
|
||||
private String ipaddr;
|
||||
|
||||
/** SIM卡信息 */
|
||||
@TableField("SIMINFO")
|
||||
@FieldChinese("SIM卡信息")
|
||||
private String siminfo;
|
||||
|
||||
/** 用途 */
|
||||
@TableField("PURPOSE")
|
||||
@FieldChinese("用途")
|
||||
private String purpose;
|
||||
|
||||
/** 观察方式 */
|
||||
@TableField("OBSERVE")
|
||||
@FieldChinese("观察方式")
|
||||
private String observe;
|
||||
|
||||
/** 地形裁剪范围 */
|
||||
@TableField("BOX")
|
||||
@FieldChinese("地形裁剪范围")
|
||||
private String box;
|
||||
|
||||
// ---------- 审计字段 ----------
|
||||
|
||||
/** 创建人:关联SYS_USER.ID */
|
||||
@TableField("RECORD_USER")
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/** 创建时间 */
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/** 更新人:关联SYS_USER.ID */
|
||||
@TableField("MODIFY_USER")
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/** 更新时间 */
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/** 是否已删除 */
|
||||
@TableField("IS_DELETED")
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/** 删除人:关联SYS_USER.ID */
|
||||
@TableField("DELETE_USER")
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/** 删除时间 */
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -24,17 +25,20 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@FieldChinese("测站编码")
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
@FieldChinese("测站名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
@FieldChinese("测站类型")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -43,37 +47,44 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@FieldChinese("数据时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
@FieldChinese("位置经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
@FieldChinese("位置纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
@FieldChinese("站址")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -82,17 +93,20 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@FieldChinese("数据接入时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
@FieldChinese("关联测站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -101,6 +115,7 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
@FieldChinese("所属基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -109,11 +124,13 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
@FieldChinese("所属基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
@FieldChinese("所属流域代码")
|
||||
private String rvcd;
|
||||
|
||||
|
||||
@ -123,47 +140,55 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 所属行政区编码
|
||||
*/
|
||||
@FieldChinese("所属行政区编码")
|
||||
private String addvcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
@FieldChinese("规划设计日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
@FieldChinese("计划开工日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
@FieldChinese("计划完工日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
@FieldChinese("开工日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@FieldChinese("建成日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@FieldChinese("退役/拆除日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
@FieldChinese("建设状态代码")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ -172,71 +197,85 @@ public class SdArtsgBH implements Serializable {
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
@FieldChinese("LOGO")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
@FieldChinese("介绍文件")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
@FieldChinese("投资金额")
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
@FieldChinese("保护措施")
|
||||
private String prtcts;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@FieldChinese("数量")
|
||||
private Integer cnt;
|
||||
|
||||
/**
|
||||
* 面积
|
||||
*/
|
||||
@FieldChinese("面积")
|
||||
private BigDecimal ar;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
@FieldChinese("类型")
|
||||
private String tp;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@FieldChinese("附件")
|
||||
private String attm;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
@FieldChinese("数据频率")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
@FieldChinese("植被覆盖类型")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@FieldChinese("植被覆盖调查时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -21,341 +22,279 @@ public class SdDwBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
/** 低温水减缓设施编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("低温水减缓设施编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
/** 低温水减缓设施名称 */
|
||||
@FieldChinese("低温水减缓设施名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
/** 低温水减缓设施类型 */
|
||||
@FieldChinese("低温水减缓设施类型")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
/** 经度(°) */
|
||||
@FieldChinese("经度(°)")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
/** 纬度(°) */
|
||||
@FieldChinese("纬度(°)")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
/** 高程(m) */
|
||||
@FieldChinese("高程(m)")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
/** 是否启用:0=禁用 1=启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
/** 数据是否接入:0=未接入 1=已接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
/** 总投资(亿元) */
|
||||
@FieldChinese("总投资(亿元)")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
/** 投资是否计入主体工程:0=否 1=是 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 调度方式
|
||||
*/
|
||||
/** 是否有调度规程分析:0=无调度规程 1=有调度规程 */
|
||||
@FieldChinese("是否有调度规程分析")
|
||||
private Integer dispatch;
|
||||
|
||||
/**
|
||||
* 调度描述
|
||||
*/
|
||||
/** 调度规程文字描述 */
|
||||
@FieldChinese("调度规程文字描述")
|
||||
private String dispatchDes;
|
||||
|
||||
/**
|
||||
* 调度文件
|
||||
*/
|
||||
/** 调度规程文件 */
|
||||
@FieldChinese("调度规程文件")
|
||||
private String dispatchFile;
|
||||
|
||||
/**
|
||||
* 叠梁门层数高度
|
||||
*/
|
||||
/** 多层式进水口-每层取水口高程(用"/"隔断) */
|
||||
@FieldChinese("多层式进水口-每层取水口高程")
|
||||
private String dcshg;
|
||||
|
||||
/**
|
||||
* 叠梁门单层取水口个数
|
||||
*/
|
||||
/** 多层式进水口-取水口个数 */
|
||||
@FieldChinese("多层式进水口-取水口个数")
|
||||
private BigDecimal dcsqskgs;
|
||||
|
||||
/**
|
||||
* 叠梁门层数
|
||||
*/
|
||||
/** 叠梁门/翻板门式进水口的门叶数量 */
|
||||
@FieldChinese("叠梁门/翻板门式进水口的门叶数量")
|
||||
private Integer dlmcnt;
|
||||
|
||||
/**
|
||||
* 叠梁门高度
|
||||
*/
|
||||
/** 叠梁门/翻板门式进水口的单节门叶高度 */
|
||||
@FieldChinese("叠梁门/翻板门式进水口的单节门叶高度")
|
||||
private BigDecimal dlmhg;
|
||||
|
||||
/**
|
||||
* 叠梁门底部高程
|
||||
*/
|
||||
/** 叠梁门/翻板门顶部高程 */
|
||||
@FieldChinese("叠梁门/翻板门顶部高程")
|
||||
private BigDecimal dlmdbgc;
|
||||
|
||||
/**
|
||||
* 叠梁门最大温度梯度
|
||||
*/
|
||||
/** 叠梁门/翻板门式进水口的最大淹没水深 */
|
||||
@FieldChinese("叠梁门/翻板门式进水口的最大淹没水深")
|
||||
private BigDecimal dlmmxwdp;
|
||||
|
||||
/**
|
||||
* 梯级电站台数
|
||||
*/
|
||||
/** 套筒式进水口的套筒数量 */
|
||||
@FieldChinese("套筒式进水口的套筒数量")
|
||||
private Integer ttscnt;
|
||||
|
||||
/**
|
||||
* 梯级电站高度
|
||||
*/
|
||||
/** 套筒式进水口的单个套筒高度 */
|
||||
@FieldChinese("套筒式进水口的单个套筒高度")
|
||||
private BigDecimal ttshg;
|
||||
|
||||
/**
|
||||
* 梯级电站最低死水位
|
||||
*/
|
||||
/** 套筒式进水口的最大淹没水深 */
|
||||
@FieldChinese("套筒式进水口的最大淹没水深")
|
||||
private BigDecimal ttszdss;
|
||||
|
||||
/**
|
||||
* 取水口段结构
|
||||
*/
|
||||
/** 前置挡墙/隔水幕墙的结构形式 */
|
||||
@FieldChinese("前置挡墙/隔水幕墙的结构形式")
|
||||
private String qzdqjg;
|
||||
|
||||
/**
|
||||
* 取水口段高度
|
||||
*/
|
||||
/** 前置挡墙的挡墙顶高程 */
|
||||
@FieldChinese("前置挡墙的挡墙顶高程")
|
||||
private BigDecimal qzdqhg;
|
||||
|
||||
/**
|
||||
* 隔水幕墙长度
|
||||
*/
|
||||
/** 隔水幕墙的长度 */
|
||||
@FieldChinese("隔水幕墙的长度")
|
||||
private BigDecimal gsmqcd;
|
||||
|
||||
/**
|
||||
* 隔水幕墙宽度
|
||||
*/
|
||||
/** 隔水幕墙的宽度 */
|
||||
@FieldChinese("隔水幕墙的宽度")
|
||||
private BigDecimal gsmqkd;
|
||||
|
||||
/**
|
||||
* 隔水幕墙材料
|
||||
*/
|
||||
/** 隔水幕墙材料 */
|
||||
@FieldChinese("隔水幕墙材料")
|
||||
private BigDecimal gsmqcl;
|
||||
|
||||
/**
|
||||
* 其他设施具体型式
|
||||
*/
|
||||
/** 其他设施具体型式 */
|
||||
@FieldChinese("其他设施具体型式")
|
||||
private String qtssjbtx;
|
||||
|
||||
/**
|
||||
* 天然河流平均水温
|
||||
*/
|
||||
/** 天然河流平均水温 */
|
||||
@FieldChinese("天然河流平均水温")
|
||||
private BigDecimal nravwt;
|
||||
|
||||
/**
|
||||
* 天然河流最高温月份多年平均水温
|
||||
*/
|
||||
/** 天然河流最高温月份多年平均水温 */
|
||||
@FieldChinese("天然河流最高温月份多年平均水温")
|
||||
private BigDecimal nrmxavwt;
|
||||
|
||||
/**
|
||||
* 天然河流最低温月份多年平均水温
|
||||
*/
|
||||
/** 天然河流最低温月份多年平均水温 */
|
||||
@FieldChinese("天然河流最低温月份多年平均水温")
|
||||
private BigDecimal nrmnavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下平均水温
|
||||
*/
|
||||
/** 建成后坝下平均水温 */
|
||||
@FieldChinese("建成后坝下平均水温")
|
||||
private BigDecimal dnavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下最高温月份多年平均水温
|
||||
*/
|
||||
/** 建成后坝下最高温月份多年平均水温 */
|
||||
@FieldChinese("建成后坝下最高温月份多年平均水温")
|
||||
private BigDecimal dnmxavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下最低温月份多年平均水温
|
||||
*/
|
||||
/** 建成后坝下最低温月份多年平均水温 */
|
||||
@FieldChinese("建成后坝下最低温月份多年平均水温")
|
||||
private BigDecimal dnmnavwt;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
/** 数据监测频次 */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -21,296 +22,243 @@ public class SdEqBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
/** 生态流量泄放设施编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("生态流量泄放设施编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
/** 生态流量泄放设施名称 */
|
||||
@FieldChinese("生态流量泄放设施名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
/** 生态流量泄放设施类型 */
|
||||
@FieldChinese("生态流量泄放设施类型")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
/** 所属基地编码 */
|
||||
@FieldChinese("所属基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
/** 所属基地河段编码 */
|
||||
@FieldChinese("所属基地河段编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 泄放孔结构
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)-结构形式 */
|
||||
@FieldChinese("生态放流孔(闸、洞、管)-结构形式")
|
||||
private String flkjg;
|
||||
|
||||
/**
|
||||
* 泄放孔尺寸
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)-孔口尺寸(单位:m) */
|
||||
@FieldChinese("生态放流孔(闸、洞、管)-孔口尺寸")
|
||||
private String flksz;
|
||||
|
||||
/**
|
||||
* 单独泄放管渠
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)-死水位时保证流量(单位:m³/s) */
|
||||
@FieldChinese("生态放流孔(闸、洞、管)-死水位时保证流量")
|
||||
private String ddzgq;
|
||||
|
||||
/**
|
||||
* 泄放孔口
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)-最大泄放流量(单位:m³/s) */
|
||||
@FieldChinese("生态放流孔(闸、洞、管)-最大泄放流量")
|
||||
private String flkq;
|
||||
|
||||
/**
|
||||
* 进水口底板高程
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)或生态机组-进水口地板高程(单位:m) */
|
||||
@FieldChinese("进水口底板高程")
|
||||
private BigDecimal jskdbgc;
|
||||
|
||||
/**
|
||||
* 出水口底板高程
|
||||
*/
|
||||
/** 生态放流孔(闸、洞、管)或生态机组-出水口地板高程(单位:m) */
|
||||
@FieldChinese("出水口底板高程")
|
||||
private BigDecimal cskdbgc;
|
||||
|
||||
/**
|
||||
* 检修放空管道
|
||||
*/
|
||||
/** 基荷发电工况(单位:MW) */
|
||||
@FieldChinese("基荷发电工况")
|
||||
private String jhfdgk;
|
||||
|
||||
/**
|
||||
* 泄放流量
|
||||
*/
|
||||
/** 基荷发电或生态机组-发电流量(单位:m³/s) */
|
||||
@FieldChinese("发电流量")
|
||||
private BigDecimal fdll;
|
||||
|
||||
/**
|
||||
* 生态机组装机容量
|
||||
*/
|
||||
/** 生态机组装机容量 */
|
||||
@FieldChinese("生态机组装机容量")
|
||||
private BigDecimal stjzzjrl;
|
||||
|
||||
/**
|
||||
* 生态机组引水渠道
|
||||
*/
|
||||
/** 生态机组额定流量 */
|
||||
@FieldChinese("生态机组额定流量")
|
||||
private BigDecimal stjzysq;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 评估方法
|
||||
*/
|
||||
/** 考核方式 */
|
||||
@FieldChinese("考核方式")
|
||||
private String assessMethod;
|
||||
|
||||
/**
|
||||
* 是否计算器
|
||||
*/
|
||||
/** 是否建设期的考核要求 */
|
||||
@FieldChinese("是否建设期的考核要求")
|
||||
private Integer isJsq;
|
||||
|
||||
/**
|
||||
* 是否流量
|
||||
*/
|
||||
/** 是否有下泄生态流量要求 */
|
||||
@FieldChinese("是否有下泄生态流量要求")
|
||||
private String isFlow;
|
||||
|
||||
/**
|
||||
* 最小流量
|
||||
*/
|
||||
/** 最小保证下泄生态流量值(单位:m³/s) */
|
||||
@FieldChinese("最小保证下泄生态流量值")
|
||||
private BigDecimal minFlow;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -21,249 +22,205 @@ public class SdFbrdBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
/** 鱼类增殖站编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("鱼类增殖站编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
/** 鱼类增殖站名称 */
|
||||
@FieldChinese("鱼类增殖站名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
/** 所属基地编码 */
|
||||
@FieldChinese("所属基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
/** 所属基地河段编码 */
|
||||
@FieldChinese("所属基地河段编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 环评单位
|
||||
*/
|
||||
/** 服务电站对象列表 */
|
||||
@FieldChinese("服务电站对象列表")
|
||||
private String rengcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 增殖放流面积
|
||||
*/
|
||||
/** 总占地面积(单位:km²) */
|
||||
@FieldChinese("总占地面积")
|
||||
private BigDecimal zzflar;
|
||||
|
||||
/**
|
||||
* 增殖放流工艺
|
||||
*/
|
||||
/** 生产工艺 */
|
||||
@FieldChinese("生产工艺")
|
||||
private String zzflgy;
|
||||
|
||||
/**
|
||||
* 增殖放流鱼种描述
|
||||
*/
|
||||
/** 养殖模式 */
|
||||
@FieldChinese("养殖模式")
|
||||
private String zzflyzms;
|
||||
|
||||
/**
|
||||
* 增殖放流标记方式
|
||||
*/
|
||||
/** 标记方式 */
|
||||
@FieldChinese("标记方式")
|
||||
private String zzflbjfs;
|
||||
|
||||
/**
|
||||
* 增殖放流对象
|
||||
*/
|
||||
/** 放流对象 */
|
||||
@FieldChinese("放流对象")
|
||||
private String zzfldx;
|
||||
|
||||
/**
|
||||
* 增殖放流数量
|
||||
*/
|
||||
/** 放流规模(单位:尾/年) */
|
||||
@FieldChinese("放流规模")
|
||||
private Integer zzflcnt;
|
||||
|
||||
/**
|
||||
* 增殖放流放流流程
|
||||
*/
|
||||
/** 放流地点 */
|
||||
@FieldChinese("放流地点")
|
||||
private String zzflfllc;
|
||||
|
||||
/**
|
||||
* 增殖放流时间
|
||||
*/
|
||||
/** 放流时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("放流时间")
|
||||
private Date zzfltm;
|
||||
|
||||
/**
|
||||
* 增殖放流任务
|
||||
*/
|
||||
/** 承担放流任务 */
|
||||
@FieldChinese("承担放流任务")
|
||||
private String zzflrw;
|
||||
|
||||
/**
|
||||
* 设计单位
|
||||
*/
|
||||
/** 设计单位 */
|
||||
@FieldChinese("设计单位")
|
||||
private String dsun;
|
||||
|
||||
/**
|
||||
* 基本特性参数
|
||||
*/
|
||||
/** 基本特性参数(文字描述) */
|
||||
@FieldChinese("基本特性参数")
|
||||
private String jbtxcs;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -21,252 +22,206 @@ public class SdFhbtBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
/** 栖息地编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("栖息地编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
/** 栖息地名称 */
|
||||
@FieldChinese("栖息地名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
/** 经度 */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
/** 纬度 */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
/** 高程 */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
/** 是否启用:0=禁用 1=启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
/** 数据是否接入:0=未接入 1=已接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/**
|
||||
* 所属行政区编码
|
||||
*/
|
||||
/** 所属行政区编码 */
|
||||
@FieldChinese("所属行政区编码")
|
||||
private String addvcd;
|
||||
|
||||
/**
|
||||
* 河段描述
|
||||
*/
|
||||
/** 河段描述 */
|
||||
@FieldChinese("河段描述")
|
||||
private String reachdes;
|
||||
|
||||
/**
|
||||
* 经度纬度列表
|
||||
*/
|
||||
/** 栖息地范围经纬度列表 */
|
||||
@FieldChinese("栖息地范围经纬度列表")
|
||||
private String lglttd;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 保护对象
|
||||
*/
|
||||
/** 保护对象 */
|
||||
@FieldChinese("保护对象")
|
||||
private String bhdx;
|
||||
|
||||
/**
|
||||
* 保护范围
|
||||
*/
|
||||
/** 保护范围 */
|
||||
@FieldChinese("保护范围")
|
||||
private String bhfw;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
/** 保护长度(单位:km) */
|
||||
@FieldChinese("保护长度")
|
||||
private String bhcd;
|
||||
|
||||
/**
|
||||
* 保护面积
|
||||
*/
|
||||
/** 保护面积(单位:km²) */
|
||||
@FieldChinese("保护面积")
|
||||
private BigDecimal bhmj;
|
||||
|
||||
/**
|
||||
* 保护河流
|
||||
*/
|
||||
/** 保护河流 */
|
||||
@FieldChinese("保护河流")
|
||||
private String bhhl;
|
||||
|
||||
/**
|
||||
* 保护河道
|
||||
*/
|
||||
/** 保护河段 */
|
||||
@FieldChinese("保护河段")
|
||||
private String bhhd;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
/** 保护措施 */
|
||||
@FieldChinese("保护措施")
|
||||
private String bhcs;
|
||||
|
||||
/**
|
||||
* 保护方式
|
||||
*/
|
||||
/** 保护方式 */
|
||||
@FieldChinese("保护方式")
|
||||
private String bhfs;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
/** 实施时间 */
|
||||
@FieldChinese("实施时间")
|
||||
private String attm;
|
||||
|
||||
/**
|
||||
* 保护水文参数
|
||||
*/
|
||||
/** 保护外围长度(单位:km) */
|
||||
@FieldChinese("保护外围长度")
|
||||
private String bhwwcd;
|
||||
|
||||
/**
|
||||
* 保护河相关系
|
||||
*/
|
||||
/** 保护核心长度(单位:km) */
|
||||
@FieldChinese("保护核心长度")
|
||||
private String bhhxcd;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@ -19,278 +20,225 @@ public class SdFishDictoryB implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
/** 主键 */
|
||||
@TableId(type = IdType.ASSIGN_UUID)
|
||||
@FieldChinese("主键")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
/** 编码 */
|
||||
@FieldChinese("编码")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
/** 名称 */
|
||||
@FieldChinese("名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 英文名称
|
||||
*/
|
||||
/** 英文名称 */
|
||||
@FieldChinese("英文名称")
|
||||
private String nameEn;
|
||||
|
||||
/**
|
||||
* 俗名
|
||||
*/
|
||||
/** 俗名 */
|
||||
@FieldChinese("俗名")
|
||||
private String alias;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO */
|
||||
@FieldChinese("LOGO")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍
|
||||
*/
|
||||
/** 介绍 */
|
||||
@FieldChinese("介绍")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* 介绍弹窗图片
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 目
|
||||
*/
|
||||
/** 目 */
|
||||
@FieldChinese("目")
|
||||
private String orders;
|
||||
|
||||
/**
|
||||
* 科
|
||||
*/
|
||||
/** 科 */
|
||||
@FieldChinese("科")
|
||||
private String family;
|
||||
|
||||
/**
|
||||
* 属
|
||||
*/
|
||||
/** 属 */
|
||||
@FieldChinese("属")
|
||||
private String genus;
|
||||
|
||||
/**
|
||||
* 种
|
||||
*/
|
||||
/** 种 */
|
||||
@FieldChinese("种")
|
||||
private String species;
|
||||
|
||||
/**
|
||||
* 分类:1=淡水 2=海水
|
||||
*/
|
||||
/** 分类:1=淡水 2=海水 */
|
||||
@FieldChinese("分类")
|
||||
private Integer type;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String typeName;
|
||||
|
||||
/**
|
||||
* 成鱼大小:单位:cm
|
||||
*/
|
||||
/** 成鱼大小:单位:cm */
|
||||
@FieldChinese("成鱼大小")
|
||||
private String fsz;
|
||||
|
||||
/**
|
||||
* 是否珍稀鱼类:0=否 1=是
|
||||
*/
|
||||
/** 是否珍稀鱼类:0=否 1=是 */
|
||||
@FieldChinese("是否珍稀鱼类")
|
||||
private Integer rare;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rareName;
|
||||
|
||||
/**
|
||||
* 物种来源:1=本土物种 2=外来物种
|
||||
*/
|
||||
/** 物种来源:1=本土物种 2=外来物种 */
|
||||
@FieldChinese("物种来源")
|
||||
private Integer specOrigin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String specOriginName;
|
||||
|
||||
/**
|
||||
* 保护类型:1=濒危 2=极危 3=近危 4=易危 5=重点保护 6=无危 7=国家二级 8=市二级保护
|
||||
*/
|
||||
/** 保护类型 */
|
||||
@FieldChinese("保护类型")
|
||||
private Integer ptype;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ptypeName;
|
||||
|
||||
/**
|
||||
* 所属流域
|
||||
*/
|
||||
/** 所属流域 */
|
||||
@FieldChinese("所属流域")
|
||||
private String rvcd;
|
||||
|
||||
/**
|
||||
* 洄游习性
|
||||
*/
|
||||
/** 洄游习性 */
|
||||
@FieldChinese("洄游习性")
|
||||
private String habitMigrat;
|
||||
|
||||
/**
|
||||
* 摄食习性
|
||||
*/
|
||||
/** 摄食习性 */
|
||||
@FieldChinese("摄食习性")
|
||||
private String feedingHabit;
|
||||
|
||||
/**
|
||||
* 产卵特性
|
||||
*/
|
||||
/** 产卵特性 */
|
||||
@FieldChinese("产卵特性")
|
||||
private String spawnCharact;
|
||||
|
||||
/**
|
||||
* 主要食物
|
||||
*/
|
||||
/** 主要食物 */
|
||||
@FieldChinese("主要食物")
|
||||
private String food;
|
||||
|
||||
/**
|
||||
* 觅食时段
|
||||
*/
|
||||
/** 觅食时段 */
|
||||
@FieldChinese("觅食时段")
|
||||
private String timeFeed;
|
||||
|
||||
/**
|
||||
* 产地及产期
|
||||
*/
|
||||
/** 产地及产期 */
|
||||
@FieldChinese("产地及产期")
|
||||
private String orignDate;
|
||||
|
||||
/**
|
||||
* 适宜温度:单位:℃
|
||||
*/
|
||||
/** 适宜温度:单位:℃ */
|
||||
@FieldChinese("适宜温度")
|
||||
private String pretemp;
|
||||
|
||||
/**
|
||||
* 适宜流速:单位:m/s
|
||||
*/
|
||||
/** 适宜流速:单位:m/s */
|
||||
@FieldChinese("适宜流速")
|
||||
private String flowRate;
|
||||
|
||||
/**
|
||||
* 适宜水深:单位(m)
|
||||
*/
|
||||
/** 适宜水深:单位(m) */
|
||||
@FieldChinese("适宜水深")
|
||||
private String depth;
|
||||
|
||||
/**
|
||||
* 适宜底质
|
||||
*/
|
||||
/** 适宜底质 */
|
||||
@FieldChinese("适宜底质")
|
||||
private String botmMater;
|
||||
|
||||
/**
|
||||
* 水质要求:1=Ⅰ类 2=Ⅱ类 3=Ⅲ类 4=Ⅳ类 5=Ⅴ类 6=劣质V
|
||||
*/
|
||||
/** 水质要求 */
|
||||
@FieldChinese("水质要求")
|
||||
private String wqtq;
|
||||
|
||||
// @TableField(exist = false)
|
||||
// private String wqtqName;
|
||||
|
||||
/**
|
||||
* 主要生活环境 1=流水生境 2=静缓流生境 3=洞穴生境
|
||||
*/
|
||||
/** 主要生活环境 1=流水生境 2=静缓流生境 3=洞穴生境 */
|
||||
@FieldChinese("主要生活环境")
|
||||
private Integer habitat;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String habitatName;
|
||||
|
||||
/**
|
||||
* 种群现状 1=优势种 2=常见种 3=少见种 4=记录种
|
||||
*/
|
||||
/** 种群现状 1=优势种 2=常见种 3=少见种 4=记录种 */
|
||||
@FieldChinese("种群现状")
|
||||
private Integer situation;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String situationName;
|
||||
|
||||
/**
|
||||
* 资源类型 1=保护鱼类 2=特有鱼类 3=重要经济鱼类 4=濒危状况
|
||||
*/
|
||||
/** 资源类型 1=保护鱼类 2=特有鱼类 3=重要经济鱼类 4=濒危状况 */
|
||||
@FieldChinese("资源类型")
|
||||
private Integer resourceType;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String resourceTypeName;
|
||||
|
||||
/**
|
||||
* 形态描述
|
||||
*/
|
||||
/** 形态描述 */
|
||||
@FieldChinese("形态描述")
|
||||
private String shapedesc;
|
||||
|
||||
/**
|
||||
* 保护级别
|
||||
*/
|
||||
/** 保护级别 */
|
||||
@FieldChinese("保护级别")
|
||||
private String protectlvl;
|
||||
|
||||
/**
|
||||
* 栖息习性
|
||||
*/
|
||||
/** 栖息习性 */
|
||||
@FieldChinese("栖息习性")
|
||||
private String habitation;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
/** 附件 */
|
||||
@FieldChinese("附件")
|
||||
private String fid;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
/** 描述 */
|
||||
@FieldChinese("描述")
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 是否启用:0=禁用 1=启用
|
||||
*/
|
||||
/** 是否启用:0=禁用 1=启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer enable;
|
||||
|
||||
/**
|
||||
* 系统内置项:0=否 1=是
|
||||
*/
|
||||
/** 系统内置项:0=否 1=是 */
|
||||
@FieldChinese("系统内置项")
|
||||
private Integer internal;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 创建人:关联SYS_USER.ID
|
||||
*/
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
/** 创建时间 */
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人:关联SYS_USER.ID
|
||||
*/
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
/** 更新时间 */
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除:0=未删除 1=已删除
|
||||
*/
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人:关联SYS_USER.ID
|
||||
*/
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
/** 删除时间 */
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
|
||||
/**
|
||||
* 产卵月份:多个月份以逗号分隔
|
||||
*/
|
||||
/** 产卵月份:多个月份以逗号分隔 */
|
||||
@FieldChinese("产卵月份")
|
||||
private String spawnMonth;
|
||||
|
||||
/**
|
||||
* 数据来源
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 数据来源时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@ -22,455 +23,368 @@ public class SdFpssBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 过鱼设施编码
|
||||
*/
|
||||
/** 过鱼设施编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("过鱼设施编码")
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 设施名称
|
||||
*/
|
||||
/** 过鱼设施名称 */
|
||||
@FieldChinese("过鱼设施名称")
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 所属水电基地流域编码
|
||||
*/
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 过鱼设施类型,字典编码:sd_fpss_b_h.sttp
|
||||
* FP_1=鱼道 FP_2=仿自然通道 FP_3=集运鱼系统 FP_4=升鱼机 FP_5=其它过鱼方式 FP_6=网捕过坝
|
||||
*/
|
||||
/** 过鱼设施类型 */
|
||||
@FieldChinese("过鱼设施类型")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/**
|
||||
* 所属建设阶段 字典编码:common.blprd
|
||||
* 1001000=规划 1002000=预可研 1003000=环评 1004000=可研 1005000=在建 1006000=招标设计
|
||||
* 1007000=施工详图 1009000=建设 1010000=蓄水阶段环保验收 1011000=竣工 1012000=竣工环保验收 1013000=环境影响后评价
|
||||
*/
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 经度,单位:(°)
|
||||
*/
|
||||
/** 经度,单位:(°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 纬度,单位:(°)
|
||||
*/
|
||||
/** 纬度,单位:(°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程,单位:m
|
||||
*/
|
||||
/** 高程,单位:m */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址/位置
|
||||
*/
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用 字典编码:common.enabled 0=禁用 1=启用
|
||||
*/
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入 字典编码:common.yn 0=否 1=是
|
||||
*/
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序,按照业务规则"升序"
|
||||
*/
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 所属电站编码,关联SD_ENGINFO_B_H.STCD
|
||||
*/
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态分类:0=未建/规划(3,4,5,6,为空) 1=在建(2,7,8) 2=已建(1,10,11)
|
||||
*/
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
/** LOGO */
|
||||
@FieldChinese("LOGO")
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍弹窗图片
|
||||
*/
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资,单位:亿元
|
||||
*/
|
||||
/** 投资,单位:亿元 */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 鱼道型式
|
||||
*/
|
||||
/** 鱼道型式 */
|
||||
@FieldChinese("鱼道型式")
|
||||
private String ydxs;
|
||||
|
||||
/**
|
||||
* 鱼道总长度,单位:m
|
||||
*/
|
||||
/** 鱼道总长度,单位:m */
|
||||
@FieldChinese("鱼道总长度")
|
||||
private BigDecimal ydzcd;
|
||||
|
||||
/**
|
||||
* 鱼道进口运行设计水位,单位:m
|
||||
*/
|
||||
/** 鱼道进口运行设计水位,单位:m */
|
||||
@FieldChinese("鱼道进口运行设计水位")
|
||||
private BigDecimal ydjkz;
|
||||
|
||||
/**
|
||||
* 鱼道进口数量,单位:个
|
||||
*/
|
||||
/** 鱼道进口数量,单位:个 */
|
||||
@FieldChinese("鱼道进口数量")
|
||||
private Integer ydjkcnt;
|
||||
|
||||
/**
|
||||
* 鱼道或仿自然通道-进口高程,单位:m
|
||||
*/
|
||||
/** 鱼道或仿自然通道-进口高程,单位:m */
|
||||
@FieldChinese("鱼道或仿自然通道-进口高程")
|
||||
private BigDecimal jkhg;
|
||||
|
||||
/**
|
||||
* 鱼道进口诱鱼型式
|
||||
*/
|
||||
/** 鱼道进口诱鱼型式 */
|
||||
@FieldChinese("鱼道进口诱鱼型式")
|
||||
private String ydyyxs;
|
||||
|
||||
/**
|
||||
* 鱼道出口运行设计水位,单位:m
|
||||
*/
|
||||
/** 鱼道出口运行设计水位,单位:m */
|
||||
@FieldChinese("鱼道出口运行设计水位")
|
||||
private BigDecimal ydckz;
|
||||
|
||||
/**
|
||||
* 鱼道出口数量,单位:个
|
||||
*/
|
||||
/** 鱼道出口数量,单位:个 */
|
||||
@FieldChinese("鱼道出口数量")
|
||||
private Integer ydckcnt;
|
||||
|
||||
/**
|
||||
* 鱼道或仿自然通道-出口高程,单位:m
|
||||
*/
|
||||
/** 鱼道或仿自然通道-出口高程,单位:m */
|
||||
@FieldChinese("鱼道或仿自然通道-出口高程")
|
||||
private BigDecimal ckhg;
|
||||
|
||||
/**
|
||||
* 鱼道池室设计流速,单位:m/s
|
||||
*/
|
||||
/** 鱼道池室设计流速,单位:m/s */
|
||||
@FieldChinese("鱼道池室设计流速")
|
||||
private BigDecimal ydcsv;
|
||||
|
||||
/**
|
||||
* 鱼道每级池室长,单位:m
|
||||
*/
|
||||
/** 鱼道每级池室长,单位:m */
|
||||
@FieldChinese("鱼道每级池室长")
|
||||
private Integer ydcscd;
|
||||
|
||||
/**
|
||||
* 鱼道每级池室宽,单位:m
|
||||
*/
|
||||
/** 鱼道每级池室宽,单位:m */
|
||||
@FieldChinese("鱼道每级池室宽")
|
||||
private Integer ydcskd;
|
||||
|
||||
/**
|
||||
* 鱼道池室坡度
|
||||
*/
|
||||
/** 鱼道池室坡度 */
|
||||
@FieldChinese("鱼道池室坡度")
|
||||
private String ydcspd;
|
||||
|
||||
/**
|
||||
* 鱼道池室数量,单位:个
|
||||
*/
|
||||
/** 鱼道池室数量,单位:个 */
|
||||
@FieldChinese("鱼道池室数量")
|
||||
private Integer ydcscnt;
|
||||
|
||||
/**
|
||||
* 鱼道休息池个数
|
||||
*/
|
||||
/** 鱼道休息池个数 */
|
||||
@FieldChinese("鱼道休息池个数")
|
||||
private Integer ydxxccnt;
|
||||
|
||||
/**
|
||||
* 鱼道或仿自然通道-流速,单位:m/s
|
||||
*/
|
||||
/** 鱼道或仿自然通道-流速,单位:m/s */
|
||||
@FieldChinese("鱼道或仿自然通道-流速")
|
||||
private String flow;
|
||||
|
||||
/**
|
||||
* 仿自然通道断面形状
|
||||
*/
|
||||
/** 仿自然通道断面形状 */
|
||||
@FieldChinese("仿自然通道断面形状")
|
||||
private String fzrdmxz;
|
||||
|
||||
/**
|
||||
* 仿自然通道长度*宽度
|
||||
*/
|
||||
/** 仿自然通道长度*宽度 */
|
||||
@FieldChinese("仿自然通道长度*宽度")
|
||||
private String fzrtdsz;
|
||||
|
||||
/**
|
||||
* 仿自然通道运行水深,单位:m
|
||||
*/
|
||||
/** 仿自然通道运行水深,单位:m */
|
||||
@FieldChinese("仿自然通道运行水深")
|
||||
private BigDecimal fzryxwdp;
|
||||
|
||||
/**
|
||||
* 仿自然通道坡降
|
||||
*/
|
||||
/** 仿自然通道坡降 */
|
||||
@FieldChinese("仿自然通道坡降")
|
||||
private BigDecimal fzrpj;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-上游码头位置
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-上游码头位置 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-上游码头位置")
|
||||
private String symtlc;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-上游码头型式
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-上游码头型式 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-上游码头型式")
|
||||
private String symtxs;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-下游码头位置
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-下游码头位置 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-下游码头位置")
|
||||
private String xymtlc;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-下游码头型式
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-下游码头型式 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-下游码头型式")
|
||||
private String xymtxs;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-集诱鱼方式
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-集诱鱼方式 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-集诱鱼方式")
|
||||
private String jyfs;
|
||||
|
||||
/**
|
||||
* 集运鱼系统或升鱼机-运鱼设施方式
|
||||
*/
|
||||
/** 集运鱼系统或升鱼机-运鱼设施方式 */
|
||||
@FieldChinese("集运鱼系统或升鱼机-运鱼设施方式")
|
||||
private String yyfs;
|
||||
|
||||
/**
|
||||
* 升鱼机集鱼槽数量,单位:个
|
||||
*/
|
||||
/** 升鱼机集鱼槽数量,单位:个 */
|
||||
@FieldChinese("升鱼机集鱼槽数量")
|
||||
private Integer syjcnt;
|
||||
|
||||
/**
|
||||
* 升鱼机集鱼槽进口高程,单位:m
|
||||
*/
|
||||
/** 升鱼机集鱼槽进口高程,单位:m */
|
||||
@FieldChinese("升鱼机集鱼槽进口高程")
|
||||
private BigDecimal syjhg;
|
||||
|
||||
/**
|
||||
* 升鱼机集鱼槽流量,单位:m3/s
|
||||
*/
|
||||
/** 升鱼机集鱼槽流量,单位:m3/s */
|
||||
@FieldChinese("升鱼机集鱼槽流量")
|
||||
private String syjq;
|
||||
|
||||
/**
|
||||
* 升鱼机断面尺寸(长*宽*高),单位:m
|
||||
*/
|
||||
/** 升鱼机断面尺寸(长*宽*高),单位:m */
|
||||
@FieldChinese("升鱼机断面尺寸")
|
||||
private String syjsz;
|
||||
|
||||
/**
|
||||
* 升鱼机集鱼槽水深,单位:m
|
||||
*/
|
||||
/** 升鱼机集鱼槽水深,单位:m */
|
||||
@FieldChinese("升鱼机集鱼槽水深")
|
||||
private String syjwdp;
|
||||
|
||||
/**
|
||||
* 设计过鱼规模,单位:尾
|
||||
*/
|
||||
/** 设计过鱼规模,单位:尾 */
|
||||
@FieldChinese("设计过鱼规模")
|
||||
private String sjgycnt;
|
||||
|
||||
/**
|
||||
* 主要过鱼对象{[code:鱼编码1,name:鱼名称1,数量],[code:鱼编码2,name:鱼名称2]...}
|
||||
*/
|
||||
/** 主要过鱼对象 */
|
||||
@FieldChinese("主要过鱼对象")
|
||||
private String zygydx;
|
||||
|
||||
/**
|
||||
* 主要过鱼对象描述
|
||||
*/
|
||||
/** 主要过鱼对象描述 */
|
||||
@FieldChinese("主要过鱼对象描述")
|
||||
private String zygydxms;
|
||||
|
||||
/**
|
||||
* 兼顾过鱼对象{[code:鱼编码1,name:鱼名称1,数量],[code:鱼编码2,name:鱼名称2]...}
|
||||
*/
|
||||
/** 兼顾过鱼对象 */
|
||||
@FieldChinese("兼顾过鱼对象")
|
||||
private String jggydx;
|
||||
|
||||
/**
|
||||
* 兼顾过鱼对象描述
|
||||
*/
|
||||
/** 兼顾过鱼对象描述 */
|
||||
@FieldChinese("兼顾过鱼对象描述")
|
||||
private String jggydxms;
|
||||
|
||||
/**
|
||||
* 过鱼时间
|
||||
*/
|
||||
/** 过鱼时间 */
|
||||
@FieldChinese("过鱼时间")
|
||||
private String gytm;
|
||||
|
||||
/**
|
||||
* 所属测站编码
|
||||
*/
|
||||
/** 所属测站编码 */
|
||||
@FieldChinese("所属测站编码")
|
||||
private String stCode;
|
||||
|
||||
/**
|
||||
* 运行时间
|
||||
*/
|
||||
/** 运行时间 */
|
||||
@FieldChinese("运行时间")
|
||||
private String yxtm;
|
||||
|
||||
/**
|
||||
* 主要过鱼月份(多个月份用,隔开)
|
||||
*/
|
||||
/** 主要过鱼月份(多个月份用,隔开) */
|
||||
@FieldChinese("主要过鱼月份")
|
||||
private String fpssmn;
|
||||
|
||||
/**
|
||||
* 数据监测频次,单位:min
|
||||
*/
|
||||
/** 数据监测频次,单位:min */
|
||||
@FieldChinese("数据监测频次")
|
||||
private Integer dtfrqcy;
|
||||
|
||||
/**
|
||||
* 基本特性参数(文字描述)
|
||||
*/
|
||||
/** 基本特性参数(文字描述) */
|
||||
@FieldChinese("基本特性参数")
|
||||
private String jbtxcs;
|
||||
|
||||
/**
|
||||
* 设施是否实现鱼类上行 0=否 1=是
|
||||
*/
|
||||
/** 设施是否实现鱼类上行 0=否 1=是 */
|
||||
@FieldChinese("设施是否实现鱼类上行")
|
||||
private Integer isUp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String isUpName;
|
||||
|
||||
/**
|
||||
* 设施是否实现鱼类下行 0=否 1=是
|
||||
*/
|
||||
/** 设施是否实现鱼类下行 0=否 1=是 */
|
||||
@FieldChinese("设施是否实现鱼类下行")
|
||||
private Integer isDown;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String isDownName;
|
||||
|
||||
/**
|
||||
* 监测方式:1=人工 2=自动
|
||||
*/
|
||||
/** 监测方式:1=人工 2=自动 */
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private String mwayName;
|
||||
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 数据来源
|
||||
*/
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
/**
|
||||
* 数据来源时间
|
||||
*/
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import com.yfd.platform.annotation.UserIdField;
|
||||
import com.yfd.platform.annotation.UserNameField;
|
||||
import lombok.Data;
|
||||
@ -15,210 +16,308 @@ import java.util.Date;
|
||||
public class SdOpinfoBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 倾斜摄影站点编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("倾斜摄影站点编码")
|
||||
private String stcd;
|
||||
|
||||
/** 站点名称 */
|
||||
@FieldChinese("站点名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/** 经度。单位:(°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度。单位:(°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程。单位:(°) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 位置 */
|
||||
@FieldChinese("位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String hbrvcdName;
|
||||
|
||||
/** 所属流域代码 */
|
||||
@FieldChinese("所属流域代码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区编码 */
|
||||
@FieldChinese("所属行政区编码")
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO */
|
||||
@FieldChinese("LOGO")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 在线地址 */
|
||||
@FieldChinese("在线地址")
|
||||
private String url;
|
||||
|
||||
/** 自定义高程(前端) */
|
||||
@FieldChinese("自定义高程")
|
||||
private BigDecimal height;
|
||||
|
||||
/** 边界数据 */
|
||||
@FieldChinese("边界数据")
|
||||
private String boundary;
|
||||
|
||||
@TableField("CENTER_LGTD")
|
||||
/** 中心点经度 */
|
||||
@FieldChinese("中心点经度")
|
||||
private BigDecimal centerLgtd;
|
||||
|
||||
@TableField("CENTER_LTTD")
|
||||
/** 中心点纬度 */
|
||||
@FieldChinese("中心点纬度")
|
||||
private BigDecimal centerLttd;
|
||||
|
||||
@TableField("CENTER_ELEV")
|
||||
/** 中心点高程 */
|
||||
@FieldChinese("中心点高程")
|
||||
private BigDecimal centerElev;
|
||||
|
||||
/** 说明 */
|
||||
@FieldChinese("说明")
|
||||
private String description;
|
||||
|
||||
@TableField("CENTER1_LGTD")
|
||||
/** 中心点1经度 */
|
||||
@FieldChinese("中心点1经度")
|
||||
private BigDecimal center1Lgtd;
|
||||
|
||||
@TableField("CENTER1_LTTD")
|
||||
/** 中心点1纬度 */
|
||||
@FieldChinese("中心点1纬度")
|
||||
private BigDecimal center1Lttd;
|
||||
|
||||
@TableField("CENTER1_ELEV")
|
||||
/** 中心点1高程 */
|
||||
@FieldChinese("中心点1高程")
|
||||
private BigDecimal center1Elev;
|
||||
|
||||
@TableField("CLIPPING_PLANES")
|
||||
/** 裁剪平面 */
|
||||
@FieldChinese("裁剪平面")
|
||||
private String clippingPlanes;
|
||||
|
||||
@TableField("DESTINATION_TYPE")
|
||||
/** 相机位置坐标系类型 */
|
||||
@FieldChinese("相机位置坐标系类型")
|
||||
private String destinationType;
|
||||
|
||||
@TableField("DESTINATION_LGTD")
|
||||
/** 相机位置经度X */
|
||||
@FieldChinese("相机位置经度X")
|
||||
private BigDecimal destinationLgtd;
|
||||
|
||||
@TableField("DESTINATION_LTTD")
|
||||
/** 相机位置纬度Y */
|
||||
@FieldChinese("相机位置纬度Y")
|
||||
private BigDecimal destinationLttd;
|
||||
|
||||
@TableField("DESTINATION_ELEV")
|
||||
/** 相机位置高度Z */
|
||||
@FieldChinese("相机位置高度Z")
|
||||
private BigDecimal destinationElev;
|
||||
|
||||
@TableField("ORIENTATION_ROLL")
|
||||
/** 摄像头滚转角X */
|
||||
@FieldChinese("摄像头滚转角X")
|
||||
private BigDecimal orientationRoll;
|
||||
|
||||
@TableField("ORIENTATION_HEADING")
|
||||
/** 摄像头偏航角Z(左右旋转) */
|
||||
@FieldChinese("摄像头偏航角Z")
|
||||
private BigDecimal orientationHeading;
|
||||
|
||||
@TableField("ORIENTATION_PITCH")
|
||||
/** 摄像头俯仰角Y(上下旋转) */
|
||||
@FieldChinese("摄像头俯仰角Y")
|
||||
private BigDecimal orientationPitch;
|
||||
|
||||
@TableField("REVISE_SITE_ELEV")
|
||||
/** 前端校正站点高程 */
|
||||
@FieldChinese("前端校正站点高程")
|
||||
private BigDecimal reviseSiteElev;
|
||||
|
||||
@TableField("REVISE_SITE_ELEV_FACTOR")
|
||||
/** 前端校正站点高程系数 */
|
||||
@FieldChinese("前端校正站点高程系数")
|
||||
private BigDecimal reviseSiteElevFactor;
|
||||
|
||||
@TableField("DESTINATION_LGTD_WCS")
|
||||
/** 相机位置经度X世界坐标系 */
|
||||
@FieldChinese("相机位置经度X世界坐标系")
|
||||
private BigDecimal destinationLgtdWcs;
|
||||
|
||||
@TableField("DESTINATION_LTTD_WCS")
|
||||
/** 相机位置纬度Y世界坐标系 */
|
||||
@FieldChinese("相机位置纬度Y世界坐标系")
|
||||
private BigDecimal destinationLttdWcs;
|
||||
|
||||
@TableField("DESTINATION_ELEV_WCS")
|
||||
/** 相机位置高度Z世界坐标系 */
|
||||
@FieldChinese("相机位置高度Z世界坐标系")
|
||||
private BigDecimal destinationElevWcs;
|
||||
|
||||
@TableField("DESTINATION_LGTD_WGS84")
|
||||
/** 相机位置经度X WGS-84坐标系 */
|
||||
@FieldChinese("相机位置经度X WGS-84坐标系")
|
||||
private BigDecimal destinationLgtdWgs84;
|
||||
|
||||
@TableField("DESTINATION_LTTD_WGS84")
|
||||
/** 相机位置纬度Y WGS-84坐标系 */
|
||||
@FieldChinese("相机位置纬度Y WGS-84坐标系")
|
||||
private BigDecimal destinationLttdWgs84;
|
||||
|
||||
@TableField("DESTINATION_ELEV_WGS84")
|
||||
/** 相机位置高度Z WGS-84坐标系 */
|
||||
@FieldChinese("相机位置高度Z WGS-84坐标系")
|
||||
private BigDecimal destinationElevWgs84;
|
||||
|
||||
/** 倾斜摄影电站坐标json串 */
|
||||
@FieldChinese("倾斜摄影电站坐标json串")
|
||||
private String location;
|
||||
|
||||
/** 倾斜摄影模型精度 */
|
||||
@FieldChinese("倾斜摄影模型精度")
|
||||
private String accuracy;
|
||||
|
||||
@TableField("STNM_ALIAS")
|
||||
/** 别名 */
|
||||
@FieldChinese("别名")
|
||||
private String stnmAlias;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
/** 创建时间 */
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
/** 更新人 */
|
||||
@TableField("MODIFY_USER")
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
/** 更新时间 */
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
/** 是否已删除 */
|
||||
@TableField("IS_DELETED")
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
/** 删除人 */
|
||||
@TableField("DELETE_USER")
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
/** 删除时间 */
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
|
||||
/** 所属站类全路径(非数据库字段) */
|
||||
@ -232,6 +331,7 @@ public class SdOpinfoBH implements Serializable {
|
||||
/** 创建人 */
|
||||
@TableField("RECORD_USER")
|
||||
@UserIdField
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
/** 创建人名称(非数据库字段) */
|
||||
|
||||
@ -2,124 +2,185 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 其他陆生生态保护工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_OTTE_B_H")
|
||||
public class SdOtteBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 其他陆生生态保护工程编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("其他陆生生态保护工程编码")
|
||||
private String stcd;
|
||||
|
||||
/** 其他陆生生态保护工程名称 */
|
||||
@FieldChinese("其他陆生生态保护工程名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String usflName;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区划编码 */
|
||||
@FieldChinese("所属行政区划编码")
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 基本特性参数(文字描述) */
|
||||
@FieldChinese("基本特性参数")
|
||||
private String jbtxcs;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -2,126 +2,189 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 其他水生生态保护工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_OTWE_B_H")
|
||||
public class SdOtweBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 其他水生生态保护工程编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("其他水生生态保护工程编码")
|
||||
private String stcd;
|
||||
|
||||
/** 其他水生生态保护工程名称 */
|
||||
@FieldChinese("其他水生生态保护工程名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String usflName;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区划编码 */
|
||||
@FieldChinese("所属行政区划编码")
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/** 基本特性参数(文字描述) */
|
||||
@FieldChinese("基本特性参数")
|
||||
private String jbtxcs;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -2,142 +2,211 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 声呐及水下摄像头基本属性表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_SONAR_B_H")
|
||||
public class SdSonarBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 站码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("站码")
|
||||
private String stcd;
|
||||
|
||||
/** 站名 */
|
||||
@FieldChinese("站名")
|
||||
private String stnm;
|
||||
|
||||
/** 监控类型 */
|
||||
@FieldChinese("监控类型")
|
||||
private String mntp;
|
||||
|
||||
/** 监控类别 */
|
||||
@FieldChinese("监控类别")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String usflName;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/** 监测方式 */
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String mwayName;
|
||||
|
||||
/** 监测指标 */
|
||||
@FieldChinese("监测指标")
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区编码 */
|
||||
@FieldChinese("所属行政区编码")
|
||||
private String addvcd;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 服务对象 */
|
||||
@FieldChinese("服务对象")
|
||||
private String fwdx;
|
||||
|
||||
/** 观察方式 */
|
||||
@FieldChinese("观察方式")
|
||||
private String gcfs;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
/** 告警状态 */
|
||||
@FieldChinese("告警状态")
|
||||
private String warnState;
|
||||
}
|
||||
|
||||
@ -2,119 +2,178 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 陆生生态调查断面工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_TE_B_H")
|
||||
public class SdTeBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 陆生生态调查断面编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("陆生生态调查断面编码")
|
||||
private String stcd;
|
||||
|
||||
/** 陆生生态调查断面名称 */
|
||||
@FieldChinese("陆生生态调查断面名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区划编码 */
|
||||
@FieldChinese("所属行政区划编码")
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -2,152 +2,229 @@ package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 动物救助站工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_VA_B_H")
|
||||
public class SdVaBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 动物救助站编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("动物救助站编码")
|
||||
private String stcd;
|
||||
|
||||
/** 动物救助站名称 */
|
||||
@FieldChinese("动物救助站名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String usflName;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 服务电站编码列表 */
|
||||
@FieldChinese("服务电站编码列表")
|
||||
private String rstcdmap;
|
||||
|
||||
@TableField("STDSDT")
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 面积(单位:km²) */
|
||||
@FieldChinese("面积")
|
||||
private BigDecimal area;
|
||||
|
||||
/** 地点 */
|
||||
@FieldChinese("地点")
|
||||
private String place;
|
||||
|
||||
/** 保护方式 */
|
||||
@FieldChinese("保护方式")
|
||||
private String bhfs;
|
||||
|
||||
/** 保护原因 */
|
||||
@FieldChinese("保护原因")
|
||||
private String bhyy;
|
||||
|
||||
/** 保护对象文字描述 */
|
||||
@FieldChinese("保护对象文字描述")
|
||||
private String bhdx;
|
||||
|
||||
/** 保护对象列表 */
|
||||
@FieldChinese("保护对象列表")
|
||||
private String bhdxlb;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -5,196 +5,302 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 视频站基本属性表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_VDINFO_B")
|
||||
public class SdVdinfoB implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 视频站站码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("视频站站码")
|
||||
private String stcd;
|
||||
|
||||
/** 视频站名称 */
|
||||
@FieldChinese("视频站名称")
|
||||
private String stnm;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 视频站监控类型 */
|
||||
@FieldChinese("视频站监控类型")
|
||||
private String mntp;
|
||||
|
||||
/** 视频站子站类 */
|
||||
@FieldChinese("视频站子站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 经度 */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度 */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程/海拔 */
|
||||
@FieldChinese("高程/海拔")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 地址 */
|
||||
@FieldChinese("地址")
|
||||
private String stlc;
|
||||
|
||||
/** 监测指标 */
|
||||
@FieldChinese("监测指标")
|
||||
private String stindx;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String description;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/** 所属测站编码 */
|
||||
@FieldChinese("所属测站编码")
|
||||
private String cstcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政编码 */
|
||||
@FieldChinese("所属行政编码")
|
||||
private String addvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String addvcdName;
|
||||
|
||||
/** 所属公司编码 */
|
||||
@FieldChinese("所属公司编码")
|
||||
private String hycd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属栖息地编码 */
|
||||
@FieldChinese("所属栖息地编码")
|
||||
private String fhstcd;
|
||||
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 撤站日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("撤站日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
/** 数据接入来源 */
|
||||
@FieldChinese("数据接入来源")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
/** 数据接入开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入开始时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("DEVICE_INFO")
|
||||
/** 设备关键信息 */
|
||||
@FieldChinese("设备关键信息")
|
||||
private String deviceInfo;
|
||||
|
||||
@TableField("ACCESS_WAY")
|
||||
/** 视频站接入方式 */
|
||||
@FieldChinese("视频站接入方式")
|
||||
private String accessWay;
|
||||
|
||||
@TableField("DEVICE_SERIAL")
|
||||
/** 视频站设备序列号 */
|
||||
@FieldChinese("视频站设备序列号")
|
||||
private String deviceSerial;
|
||||
|
||||
@TableField("CHANNEL_NO")
|
||||
/** 视频站通道号 */
|
||||
@FieldChinese("视频站通道号")
|
||||
private String channelNo;
|
||||
|
||||
@TableField("CHANNEL_NAME")
|
||||
/** 视频站通道名 */
|
||||
@FieldChinese("视频站通道名")
|
||||
private String channelName;
|
||||
|
||||
/** 国标设备的通道编号 */
|
||||
@FieldChinese("国标设备的通道编号")
|
||||
private String gbchannel;
|
||||
|
||||
/** 视频站流播放协议 */
|
||||
@FieldChinese("视频站流播放协议")
|
||||
private String protocol;
|
||||
|
||||
/** 视频站码流类型 */
|
||||
@FieldChinese("视频站码流类型")
|
||||
private String quality;
|
||||
|
||||
/** 视频站传输协议 */
|
||||
@FieldChinese("视频站传输协议")
|
||||
private String transmode;
|
||||
|
||||
@TableField("IS_VD_CONTROL")
|
||||
/** 视频站是否支持远程控制 */
|
||||
@FieldChinese("视频站是否支持远程控制")
|
||||
private Integer isVdControl;
|
||||
|
||||
@TableField("CONTROL_MODE")
|
||||
/** 获取视频站支持远程控制范围 */
|
||||
@FieldChinese("获取视频站支持远程控制范围")
|
||||
private String controlMode;
|
||||
|
||||
/** 视频站直播地址 */
|
||||
@FieldChinese("视频站直播地址")
|
||||
private String url;
|
||||
|
||||
@TableField("INTRANET_URL")
|
||||
/** 视频站直播内网地址 */
|
||||
@FieldChinese("视频站直播内网地址")
|
||||
private String intranetUrl;
|
||||
|
||||
/** 视频站用户名 */
|
||||
@FieldChinese("视频站用户名")
|
||||
private String vduser;
|
||||
|
||||
/** 视频站密码 */
|
||||
@FieldChinese("视频站密码")
|
||||
private String vdpwd;
|
||||
|
||||
@TableField("STORAGE_WAY")
|
||||
/** 视频站定时截取存储方式 */
|
||||
@FieldChinese("视频站定时截取存储方式")
|
||||
private String storageWay;
|
||||
|
||||
/** 视频站定时截取频率cron表达式 */
|
||||
@FieldChinese("视频站定时截取频率")
|
||||
private String frequency;
|
||||
|
||||
@TableField("CUT_TIME")
|
||||
/** 视频站定时截取时长 */
|
||||
@FieldChinese("视频站定时截取时长")
|
||||
private String cutTime;
|
||||
|
||||
@TableField("FRAME_RATE")
|
||||
/** 视频站定时截取压缩每秒多少帧 */
|
||||
@FieldChinese("视频站定时截取压缩每秒多少帧")
|
||||
private String frameRate;
|
||||
|
||||
@TableField("TS_DURATION")
|
||||
/** ts文件的时长 */
|
||||
@FieldChinese("ts文件的时长")
|
||||
private String tsDuration;
|
||||
|
||||
@TableField("OCR_WAY")
|
||||
/** ocr方式 */
|
||||
@FieldChinese("ocr方式")
|
||||
private String ocrWay;
|
||||
|
||||
/** 是否是生态流量泄放复核 */
|
||||
@FieldChinese("是否是生态流量泄放复核")
|
||||
private String eqreviewm;
|
||||
|
||||
/** 视频站设备机位变更日期 */
|
||||
@FieldChinese("视频站设备机位变更日期")
|
||||
private Integer jwupdate;
|
||||
|
||||
@TableField("AI_ENABLED")
|
||||
/** 视频站AI识别是否启用 */
|
||||
@FieldChinese("视频站AI识别是否启用")
|
||||
private Integer aiEnabled;
|
||||
|
||||
@TableField("AI_FREQUENCY")
|
||||
/** 视频站AI识别频率cron表达式 */
|
||||
@FieldChinese("视频站AI识别频率")
|
||||
private String aiFrequency;
|
||||
|
||||
@TableField("AI_EXT_CODE")
|
||||
/** 视频站AI识别外部站码 */
|
||||
@FieldChinese("视频站AI识别外部站码")
|
||||
private String aiExtCode;
|
||||
|
||||
@TableField("AI_EXT_NAME")
|
||||
/** 视频站AI识别外部站名 */
|
||||
@FieldChinese("视频站AI识别外部站名")
|
||||
private String aiExtName;
|
||||
|
||||
@TableField("LIVE_ADDRESS")
|
||||
/** 平台提供的直接列表 */
|
||||
@FieldChinese("平台提供的直接列表")
|
||||
private String liveAddress;
|
||||
|
||||
/** 视频录像数据保留天数 */
|
||||
@FieldChinese("视频录像数据保留天数")
|
||||
private Integer vdhisday;
|
||||
|
||||
@TableField("DELAY_TIME")
|
||||
/** 视频截取失败多少秒重试 */
|
||||
@FieldChinese("视频截取失败多少秒重试")
|
||||
private String delayTime;
|
||||
|
||||
@TableField("DELAY_NUM")
|
||||
/** 视频截取失败最大重试次数 */
|
||||
@FieldChinese("视频截取失败最大重试次数")
|
||||
private Integer delayNum;
|
||||
|
||||
/** 依托项目 */
|
||||
@FieldChinese("依托项目")
|
||||
private String project;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
/** 告警状态 */
|
||||
@FieldChinese("告警状态")
|
||||
private String warnState;
|
||||
}
|
||||
|
||||
@ -5,147 +5,230 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 珍稀植物保护工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_VP_B_H")
|
||||
public class SdVpBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 珍稀植物园编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("珍稀植物园编码")
|
||||
private String stcd;
|
||||
|
||||
/** 珍稀植物园名称 */
|
||||
@FieldChinese("珍稀植物园名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 所属建设阶段 */
|
||||
@FieldChinese("所属建设阶段")
|
||||
private Integer blprd;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 总工期(单位:天) */
|
||||
@FieldChinese("总工期")
|
||||
private Integer aptl;
|
||||
|
||||
/** 面积(单位:km²) */
|
||||
@FieldChinese("面积")
|
||||
private BigDecimal area;
|
||||
|
||||
/** 地点 */
|
||||
@FieldChinese("地点")
|
||||
private String place;
|
||||
|
||||
/** 保护对象文字描述 */
|
||||
@FieldChinese("保护对象文字描述")
|
||||
private String bhdx;
|
||||
|
||||
/** 保护对象列表 */
|
||||
@FieldChinese("保护对象列表")
|
||||
private String bhdxlb;
|
||||
|
||||
/** 保护方式 */
|
||||
@FieldChinese("保护方式")
|
||||
private String bhfs;
|
||||
|
||||
/** 保护原因 */
|
||||
@FieldChinese("保护原因")
|
||||
private String bhyy;
|
||||
|
||||
/** 是否业主营地公用 */
|
||||
@FieldChinese("是否业主营地公用")
|
||||
private Integer iscaec;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
}
|
||||
|
||||
@ -5,113 +5,178 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 水生生态调查断面工程信息表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_WE_B_H")
|
||||
public class SdWeBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 水生生态调查断面编码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("水生生态调查断面编码")
|
||||
private String stcd;
|
||||
|
||||
/** 水生生态调查断面名称 */
|
||||
@FieldChinese("水生生态调查断面名称")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 经度(单位:°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(单位:°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程(单位:m) */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址/位置 */
|
||||
@FieldChinese("站址/位置")
|
||||
private String stlc;
|
||||
|
||||
/** 是否启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
/** 数据接入时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入时间")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属流域编码 */
|
||||
@FieldChinese("所属流域编码")
|
||||
private String rvcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String rvnm;
|
||||
|
||||
/** 所属行政区划编码 */
|
||||
@FieldChinese("所属行政区划编码")
|
||||
private String addvcd;
|
||||
|
||||
/** 规划设计日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("规划设计日期")
|
||||
private Date stdsdt;
|
||||
|
||||
/** 计划开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划开工日期")
|
||||
private Date pststdt;
|
||||
|
||||
/** 计划完工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("计划完工日期")
|
||||
private Date pesstdt;
|
||||
|
||||
/** 开工日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("开工日期")
|
||||
private Date swdt;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 投资(单位:亿元) */
|
||||
@FieldChinese("投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/** 数据监测频次(单位:min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
|
||||
@ -5,144 +5,215 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 水质站基本属性表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_WQ_B_H")
|
||||
public class SdWqBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 站码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("站码")
|
||||
private String stcd;
|
||||
|
||||
/** 站名 */
|
||||
@FieldChinese("站名")
|
||||
private String stnm;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 经度(°) */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度(°) */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程/海拔(m) */
|
||||
@FieldChinese("高程/海拔")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址 */
|
||||
@FieldChinese("站址")
|
||||
private String stlc;
|
||||
|
||||
/** 水质目标 */
|
||||
@FieldChinese("水质目标")
|
||||
private String wwqtg;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String wwqtgName;
|
||||
|
||||
/** 水质建设类型 */
|
||||
@FieldChinese("水质建设类型")
|
||||
private String wqtype;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 退役/拆除日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("退役/拆除日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** LOGO图片 */
|
||||
@FieldChinese("LOGO图片")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 是否启用:0=禁用 1=启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入:0=未接入 1=已接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
/** 数据接入来源 */
|
||||
@FieldChinese("数据接入来源")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TYPE")
|
||||
/** 数据接入类型:0=自建 1=国家建 2=人工建 */
|
||||
@FieldChinese("数据接入类型")
|
||||
private Integer dtinType;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinTypeName;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
/** 数据接入开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入开始时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/** 监测方式:1=人工 2=自动 */
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String mwayName;
|
||||
|
||||
/** 监测指标 */
|
||||
@FieldChinese("监测指标")
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
/** 所属栖息地编码 */
|
||||
@FieldChinese("所属栖息地编码")
|
||||
private String fhstcd;
|
||||
|
||||
/** 是否关联断面 */
|
||||
@FieldChinese("是否关联断面")
|
||||
private Integer ispro;
|
||||
|
||||
/** 数据监测频次(min) */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注 */
|
||||
@FieldChinese("备注")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
/** 告警状态 */
|
||||
@FieldChinese("告警状态")
|
||||
private String warnState;
|
||||
}
|
||||
|
||||
@ -5,167 +5,252 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 水温站基本属性表
|
||||
*/
|
||||
@Data
|
||||
@TableName("SD_WT_B_H")
|
||||
public class SdWtBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 水温站站码 */
|
||||
@TableId(type = IdType.INPUT)
|
||||
@FieldChinese("水温站站码")
|
||||
private String stcd;
|
||||
|
||||
/** 数据时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据时间")
|
||||
private Date tm;
|
||||
|
||||
/** 水温站站名 */
|
||||
@FieldChinese("水温站站名")
|
||||
private String stnm;
|
||||
|
||||
/** 站类 */
|
||||
@FieldChinese("站类")
|
||||
private String sttp;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String sttpName;
|
||||
|
||||
/** 经度 */
|
||||
@FieldChinese("经度")
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/** 纬度 */
|
||||
@FieldChinese("纬度")
|
||||
private BigDecimal lttd;
|
||||
|
||||
/** 高程 */
|
||||
@FieldChinese("高程")
|
||||
private BigDecimal elev;
|
||||
|
||||
/** 站址 */
|
||||
@FieldChinese("站址")
|
||||
private String stlc;
|
||||
|
||||
/** 测站来源 */
|
||||
@FieldChinese("测站来源")
|
||||
private String stsr;
|
||||
|
||||
@TableField("WT_DEVICE_TYPE")
|
||||
/** 水温监测断面设备类型:1=浮动式 2=固定式 */
|
||||
@FieldChinese("水温监测断面设备类型")
|
||||
private Integer wtDeviceType;
|
||||
|
||||
@TableField("WT_TYPE")
|
||||
/** 水温监测断面类型 */
|
||||
@FieldChinese("水温监测断面类型")
|
||||
private String wtType;
|
||||
|
||||
/** 电站水温结构类型 */
|
||||
@FieldChinese("电站水温结构类型")
|
||||
private String wts;
|
||||
|
||||
@TableField("WT_HGT_TYPE")
|
||||
/** 固定垂向水温类型:1=相对位置 2=高程 */
|
||||
@FieldChinese("固定垂向水温类型")
|
||||
private Integer wtHgtType;
|
||||
|
||||
@TableField("WT_FIRST_HGT")
|
||||
/** 固定垂向水温第1个探头高程 */
|
||||
@FieldChinese("固定垂向水温第1个探头高程")
|
||||
private BigDecimal wtFirstHgt;
|
||||
|
||||
@TableField("WT_DIST")
|
||||
/** 垂向水温探头分布 */
|
||||
@FieldChinese("垂向水温探头分布")
|
||||
private String wtDist;
|
||||
|
||||
/** 建成日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("建成日期")
|
||||
private Date jcdt;
|
||||
|
||||
/** 撤站日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("撤站日期")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
/** 建设状态分类 */
|
||||
@FieldChinese("建设状态分类")
|
||||
private Integer bldsttCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String bldsttCodeName;
|
||||
|
||||
/** 总投资 */
|
||||
@FieldChinese("总投资")
|
||||
private BigDecimal inv;
|
||||
|
||||
/** 投资是否计入主体工程 */
|
||||
@FieldChinese("投资是否计入主体工程")
|
||||
private Integer invinmn;
|
||||
|
||||
/** 简介 */
|
||||
@FieldChinese("简介")
|
||||
private String introduce;
|
||||
|
||||
/** 测站logo */
|
||||
@FieldChinese("测站logo")
|
||||
private String logo;
|
||||
|
||||
/** 介绍弹窗图片 */
|
||||
@FieldChinese("介绍弹窗图片")
|
||||
private String inffile;
|
||||
|
||||
/** 是否启用:0=禁用 1=启用 */
|
||||
@FieldChinese("是否启用")
|
||||
private Integer usfl;
|
||||
|
||||
/** 数据是否接入:0=未接入 1=已接入 */
|
||||
@FieldChinese("数据是否接入")
|
||||
private Integer dtin;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinName;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
/** 数据接入来源 */
|
||||
@FieldChinese("数据接入来源")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TYPE")
|
||||
/** 数据接入类型:0=自建 1=国家建 2=人工建 */
|
||||
@FieldChinese("数据接入类型")
|
||||
private Integer dtinType;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String dtinTypeName;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
/** 数据接入开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据接入开始时间")
|
||||
private Date dtinTm;
|
||||
|
||||
/** 监测方式:1=人工 2=自动 */
|
||||
@FieldChinese("监测方式")
|
||||
private Integer mway;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String mwayName;
|
||||
|
||||
/** 监测指标 */
|
||||
@FieldChinese("监测指标")
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
/** 排序 */
|
||||
@FieldChinese("排序")
|
||||
private Integer orderIndex;
|
||||
|
||||
/** 所属断面编码 */
|
||||
@FieldChinese("所属断面编码")
|
||||
private String dmstcd;
|
||||
|
||||
/** 所属电站编码 */
|
||||
@FieldChinese("所属电站编码")
|
||||
private String rstcd;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ennm;
|
||||
|
||||
/** 所属栖息地编码 */
|
||||
@FieldChinese("所属栖息地编码")
|
||||
private String fhstcd;
|
||||
|
||||
/** 是否属于测站:0=否 1=是 */
|
||||
@FieldChinese("是否属于测站")
|
||||
private Integer ispro;
|
||||
|
||||
/** 依托项目 */
|
||||
@FieldChinese("依托项目")
|
||||
private String project;
|
||||
|
||||
/** 数据监测频次 */
|
||||
@FieldChinese("数据监测频次")
|
||||
private String dtfrqcy;
|
||||
|
||||
/** 备注说明 */
|
||||
@FieldChinese("备注说明")
|
||||
private String remark;
|
||||
|
||||
/** 数据来源 */
|
||||
@FieldChinese("数据来源")
|
||||
private String vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
/** 数据来源时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("数据来源时间")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
/** 创建人 */
|
||||
@FieldChinese("创建人")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("创建时间")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
/** 更新人 */
|
||||
@FieldChinese("更新人")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("更新时间")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
/** 是否已删除 */
|
||||
@FieldChinese("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
/** 删除人 */
|
||||
@FieldChinese("删除人")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
/** 删除时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@FieldChinese("删除时间")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
/** 所属水电基地编码 */
|
||||
@FieldChinese("所属水电基地编码")
|
||||
private String baseId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String baseName;
|
||||
|
||||
/** 所属水电基地流域编码 */
|
||||
@FieldChinese("所属水电基地流域编码")
|
||||
private String hbrvcd;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
/** 告警状态 */
|
||||
@FieldChinese("告警状态")
|
||||
private String warnState;
|
||||
|
||||
@TableField("IS_PUSH")
|
||||
/** 是否纳入推送:0=否 1=是 */
|
||||
@FieldChinese("是否纳入推送")
|
||||
private Integer isPush;
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ public interface MsWarnRuleBMapper extends BaseMapper<MsWarnRuleB> {
|
||||
|
||||
@Select("SELECT t1.ID, RULE_NAME AS ruleName, RULE_CODE AS ruleCode, t2.LVL AS lvl " +
|
||||
"FROM MS_WARN_RULE_B t1 INNER JOIN MS_WARN_RULE_DETAIL_B t2 ON t1.ID = t2.RULE_ID " +
|
||||
"WHERE 1=1 AND t1.STCD = #{stcd} " +
|
||||
"WHERE 1=1 AND (t1.RULE_CODE ='common' OR (t1.RULE_CODE ='custom' AND t1.STCD=#{stcd})) " +
|
||||
"AND t1.RULE_TYPE = #{ruleType} AND t1.IS_DELETED = 0 AND t2.IS_DELETED = 0 " +
|
||||
"GROUP BY t1.ID, RULE_NAME, RULE_CODE, lvl")
|
||||
List<WarnRuleVo> getRuleListByStcd(@Param("stcd") String stcd, @Param("ruleType") String ruleType);
|
||||
@ -46,7 +46,7 @@ public interface MsWarnRuleBMapper extends BaseMapper<MsWarnRuleB> {
|
||||
@Update("UPDATE MS_WARN_RULE_B SET STCD = #{stcd} WHERE ID = #{id}")
|
||||
void updateStcd(@Param("stcd") String stcd, @Param("id") String id);
|
||||
|
||||
@Select("SELECT t2.STTP_NAME FROM V_MS_STBPRP_T t1 INNER JOIN SD_STTP_B t2 ON t1.STTP = t2.ID WHERE t1.STCD = #{stcd}")
|
||||
@Select("SELECT t2.STTP_NAME FROM V_MS_STBPRP_T t1 INNER JOIN SD_STTP_B t2 ON t1.STTP = t2.STTP_CODE WHERE t1.STCD = #{stcd}")
|
||||
String getSttpCodeNameByStcd(@Param("stcd") String stcd);
|
||||
|
||||
@Select("SELECT COUNT(t1.ID) FROM MS_WARN_RULE_B t1 INNER JOIN MS_WARN_RULE_DETAIL_B t2 ON t1.ID = t2.RULE_ID " +
|
||||
|
||||
@ -1,8 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLog;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLogDetail;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBH;
|
||||
|
||||
public interface IMsOperationLogService {
|
||||
import java.util.List;
|
||||
|
||||
public interface IMsOperationLogService extends IService<MsOperationLog> {
|
||||
|
||||
void recordEngAddLog(SdEngInfoBH engInfo, String source);
|
||||
|
||||
@ -58,4 +65,20 @@ public interface IMsOperationLogService {
|
||||
* @param <T> 实体类型
|
||||
*/
|
||||
<T> void recordDeleteDetailLog(String recordId,String tableName, T entity, String source);
|
||||
|
||||
/**
|
||||
* 分页查询操作日志
|
||||
*
|
||||
* @param request 请求参数(tableName 必传在 filter 中,recordId 可选)
|
||||
* @return 分页结果
|
||||
*/
|
||||
Page<MsOperationLog> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 根据日志主表ID查询日志详情
|
||||
*
|
||||
* @param mainId 日志主表ID
|
||||
* @return 日志详情列表
|
||||
*/
|
||||
List<MsOperationLogDetail> getDetailByMainId(String mainId);
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ public interface IMsWarnRuleBService extends IService<MsWarnRuleB> {
|
||||
/**
|
||||
* 获取告警类型对应的要素列表
|
||||
*/
|
||||
List<WarnYsVo> getAllYs(String ruleType);
|
||||
List<WarnYsVo> getAllYs(String ruleId,String ruleType);
|
||||
|
||||
/**
|
||||
* 新增或修改预警规则
|
||||
|
||||
@ -4,28 +4,29 @@ import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.annotation.FieldChinese;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLog;
|
||||
import com.yfd.platform.qgc_base.domain.MsOperationLogDetail;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBH;
|
||||
import com.yfd.platform.qgc_base.mapper.MsOperationLogDetailMapper;
|
||||
import com.yfd.platform.qgc_base.mapper.MsOperationLogMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
@Service
|
||||
public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
public class MsOperationLogServiceImpl extends ServiceImpl<MsOperationLogMapper, MsOperationLog> implements IMsOperationLogService {
|
||||
|
||||
private static final String ENG_TABLE_NAME = "SD_ENGINFO_B_H";
|
||||
|
||||
@ -275,7 +276,7 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
if (engInfo == null) {
|
||||
return;
|
||||
}
|
||||
MsOperationLog mainLog = buildMainLog(null,"新增电站", source);
|
||||
MsOperationLog mainLog = buildMainLog(engInfo.getStcd(),"新增电站", source);
|
||||
msOperationLogMapper.insert(mainLog);
|
||||
|
||||
List<MsOperationLogDetail> details = new ArrayList<>();
|
||||
@ -421,6 +422,7 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
if (processedColumns.contains(columnName)) {
|
||||
continue;
|
||||
}
|
||||
String fieldMeaning = resolveFieldChinese(field);
|
||||
Object oldValue = getFieldValue(field, before);
|
||||
Object newValue = getFieldValue(field, after);
|
||||
|
||||
@ -432,7 +434,7 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
continue;
|
||||
}
|
||||
details.add(buildGenericDetail(mainLog.getId(), tableName, recordId, columnName,
|
||||
oldValue, newValue, "修改字段值"));
|
||||
fieldMeaning,oldValue, newValue, "修改字段值"));
|
||||
processedColumns.add(columnName);
|
||||
}
|
||||
batchInsertDetails(details);
|
||||
@ -460,8 +462,9 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
if (processedColumns.contains(columnName)) {
|
||||
continue;
|
||||
}
|
||||
String fieldMeaning = resolveFieldChinese(field);
|
||||
Object newValue = getFieldValue(field, entity);
|
||||
details.add(buildGenericDetail(mainLog.getId(), tableName, recordId, columnName,
|
||||
details.add(buildGenericDetail(mainLog.getId(), tableName, recordId, columnName,fieldMeaning,
|
||||
null, newValue, "新增字段值"));
|
||||
processedColumns.add(columnName);
|
||||
}
|
||||
@ -490,12 +493,13 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
if (processedColumns.contains(columnName)) {
|
||||
continue;
|
||||
}
|
||||
String fieldMeaning = resolveFieldChinese(field);
|
||||
Object oldValue = getFieldValue(field, entity);
|
||||
// if (oldValue == null) {
|
||||
// continue;
|
||||
// }
|
||||
details.add(buildGenericDetail(mainLog.getId(), tableName, recordId, columnName,
|
||||
oldValue, null, "删除字段值"));
|
||||
fieldMeaning,oldValue, null, "删除字段值"));
|
||||
processedColumns.add(columnName);
|
||||
}
|
||||
batchInsertDetails(details);
|
||||
@ -545,14 +549,14 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
* 构建通用的操作日志详情(不含字典名称解析)
|
||||
*/
|
||||
private MsOperationLogDetail buildGenericDetail(String mainId, String tableName,
|
||||
String stationCode, String fieldCode,
|
||||
String stationCode, String fieldCode,String fieldMeaning,
|
||||
Object oldValue, Object newValue, String remark) {
|
||||
MsOperationLogDetail detail = new MsOperationLogDetail();
|
||||
detail.setMainId(mainId);
|
||||
detail.setTableName(tableName);
|
||||
detail.setStationCode(stationCode);
|
||||
detail.setFieldCode(fieldCode);
|
||||
detail.setFieldMeaning(fieldCode);
|
||||
detail.setFieldMeaning(fieldMeaning);
|
||||
detail.setOldValueCode(formatValue(oldValue));
|
||||
detail.setNewValueCode(formatValue(newValue));
|
||||
detail.setRemark(remark);
|
||||
@ -582,6 +586,23 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
return camelToUpperUnderline(field.getName());
|
||||
}
|
||||
|
||||
|
||||
// private String resolveColumnName(Field field) {
|
||||
// FieldChinese chinese = field.getAnnotation(FieldChinese.class);
|
||||
// if (chinese != null && StringUtils.isNotBlank(chinese.value())) {
|
||||
// return chinese.value();
|
||||
// }
|
||||
// return resolveFieldColumnName(field);
|
||||
// }
|
||||
|
||||
private String resolveFieldChinese(Field field) {
|
||||
FieldChinese chinese = field.getAnnotation(FieldChinese.class);
|
||||
if (chinese != null && StringUtils.isNotBlank(chinese.value())) {
|
||||
return chinese.value();
|
||||
}
|
||||
return resolveColumnName(field);
|
||||
}
|
||||
|
||||
private Object getFieldValue(Field field, Object target) {
|
||||
try {
|
||||
return field.get(target);
|
||||
@ -685,4 +706,48 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Page<MsOperationLog> queryPageList(DataSourceRequest request) {
|
||||
Page<MsOperationLog> msOperationLogPage = DataSourceRequestUtil.executeQuery(request, MsOperationLog.class, this);
|
||||
return msOperationLogPage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<MsOperationLogDetail> getDetailByMainId(String mainId) {
|
||||
if (StringUtils.isBlank(mainId)) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
LambdaQueryWrapper<MsOperationLogDetail> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.eq(MsOperationLogDetail::getMainId, mainId);
|
||||
return msOperationLogDetailMapper.selectList(wrapper);
|
||||
}
|
||||
|
||||
/**
|
||||
* 从 DataSourceRequest 过滤条件中提取指定字段的值
|
||||
*/
|
||||
private String getFilterFieldValue(DataSourceRequest request, String fieldName) {
|
||||
if (request == null || request.getFilter() == null) {
|
||||
return null;
|
||||
}
|
||||
return findFilterValue(request.getFilter(), fieldName);
|
||||
}
|
||||
|
||||
private String findFilterValue(DataSourceRequest.FilterDescriptor filter, String fieldName) {
|
||||
if (filter == null) {
|
||||
return null;
|
||||
}
|
||||
if (fieldName.equals(filter.getField()) && filter.getValue() != null) {
|
||||
return filter.getValue().toString();
|
||||
}
|
||||
if (filter.getFilters() != null) {
|
||||
for (DataSourceRequest.FilterDescriptor child : filter.getFilters()) {
|
||||
String value = findFilterValue(child, fieldName);
|
||||
if (value != null) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
@ -10,6 +11,7 @@ import com.yfd.platform.common.DataSourceLoadOptionsBase;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.common.DataSourceResult;
|
||||
import com.yfd.platform.common.MicroservicDynamicSQLMapper;
|
||||
import com.yfd.platform.common.utils.UserNameFillHelper;
|
||||
import com.yfd.platform.qgc_base.domain.MsWarnRuleB;
|
||||
import com.yfd.platform.qgc_base.domain.MsWarnRuleDetailB;
|
||||
import com.yfd.platform.qgc_base.domain.MsWarnRuleStbprpB;
|
||||
@ -25,10 +27,12 @@ import com.yfd.platform.qgc_sys.warnRule.vo.WarnYsVo;
|
||||
import com.yfd.platform.utils.*;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.stream.Collectors;
|
||||
@ -67,9 +71,13 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
@Resource
|
||||
private MsWarnRuleStbprpBMapper msWarnRuleStbprpBMapper;
|
||||
|
||||
@Resource
|
||||
private UserNameFillHelper userNameFillHelper;
|
||||
|
||||
@Override
|
||||
public Page<MsWarnRuleB> queryPageList(DataSourceRequest request) {
|
||||
Page<MsWarnRuleB> page = DataSourceRequestUtil.executeQuery(request, MsWarnRuleB.class, this);
|
||||
userNameFillHelper.fillUserNames(page.getRecords());
|
||||
dictCodeToNameConverter.convertCodeToName(page, CODE_TO_NAME_META_LIST);
|
||||
return page;
|
||||
}
|
||||
@ -78,9 +86,9 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(MsWarnRuleB entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordAddDetailLog(entity.getId(), TABLE_NAME, entity, source);
|
||||
}
|
||||
// if (result) {
|
||||
// msOperationLogService.recordAddDetailLog(entity.getId(), TABLE_NAME, entity, source);
|
||||
// }
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -89,9 +97,9 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
public boolean update(MsWarnRuleB entity, String source) {
|
||||
MsWarnRuleB before = this.getById(entity.getId());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordModifyDetailLog(entity.getId(), TABLE_NAME, before, entity, source);
|
||||
}
|
||||
// if (result && before != null) {
|
||||
// msOperationLogService.recordModifyDetailLog(entity.getId(), TABLE_NAME, before, entity, source);
|
||||
// }
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -108,25 +116,68 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
wrapper.set(MsWarnRuleB::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(MsWarnRuleB::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordDeleteDetailLog(id, TABLE_NAME, entity, source);
|
||||
// msOperationLogService.recordDeleteDetailLog(id, TABLE_NAME, entity, source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 最小值
|
||||
*/
|
||||
private BigDecimal minVal;
|
||||
|
||||
/**
|
||||
* 最大值
|
||||
*/
|
||||
private BigDecimal maxVal;
|
||||
|
||||
@Override
|
||||
public List<WarnYsVo> getAllYs(String ruleType) {
|
||||
public List<WarnYsVo> getAllYs(String ruleId, String ruleType) {
|
||||
String dbRuleType = getOldRuleType(ruleType);
|
||||
String sql = "SELECT t2.TB_ID AS tbId, t2.YS, t3.YS_SHOW_NAME AS ysName\n" +
|
||||
"FROM MS_WARN_RULE_B t1\n" +
|
||||
"INNER JOIN MS_WARN_RULE_DETAIL_B t2 ON t1.ID = t2.RULE_ID\n" +
|
||||
"INNER JOIN ST_YS_B t3 ON t2.YS = t3.YS\n" +
|
||||
"WHERE t1.RULE_TYPE ='" + dbRuleType + "'\n" +
|
||||
" AND t1.IS_DELETED = 0\n" +
|
||||
" AND t2.IS_DELETED = 0\n" +
|
||||
"GROUP BY t2.TB_ID, t2.YS, t3.YS_SHOW_NAME";
|
||||
boolean hasRuleId = (ruleId != null && !ruleId.isEmpty());
|
||||
|
||||
// 动态构建 SELECT 子句
|
||||
StringBuilder selectClause = new StringBuilder(
|
||||
"SELECT t2.TB_ID AS tbId, t2.YS, t3.YS_SHOW_NAME AS ysName"
|
||||
);
|
||||
// 有 ruleId 时额外查询 MIN_VAL 和 MAX_VAL
|
||||
if (hasRuleId) {
|
||||
selectClause.append(",t2.WARN_LEVEL,t2.MARK,t2.LVL, t2.MIN_VAL, t2.MAX_VAL");
|
||||
}
|
||||
|
||||
// 动态构建 GROUP BY 子句(与 SELECT 对应)
|
||||
StringBuilder groupByClause = new StringBuilder(
|
||||
"GROUP BY t2.TB_ID, t2.YS, t3.YS_SHOW_NAME"
|
||||
);
|
||||
if (hasRuleId) {
|
||||
groupByClause.append(",t2.WARN_LEVEL,t2.MARK,t2.LVL, t2.MIN_VAL, t2.MAX_VAL");
|
||||
}
|
||||
|
||||
// 基础 FROM / JOIN 和固定过滤条件(删除标志)
|
||||
String fromJoin = "\nFROM MS_WARN_RULE_B t1" +
|
||||
"\nINNER JOIN MS_WARN_RULE_DETAIL_B t2 ON t1.ID = t2.RULE_ID" +
|
||||
"\nINNER JOIN ST_YS_B t3 ON t2.YS = t3.YS" +
|
||||
"\nWHERE t1.IS_DELETED = 0" +
|
||||
"\n AND t2.IS_DELETED = 0";
|
||||
|
||||
// 动态条件(使用占位符)
|
||||
String condition;
|
||||
Map<String, Object> paramMap = new HashMap<>();
|
||||
if (hasRuleId) {
|
||||
condition = "\n AND t1.ID = #{map.ruleId}";
|
||||
paramMap.put("ruleId", ruleId);
|
||||
} else {
|
||||
condition = "\n AND t1.RULE_TYPE = #{map.ruleType}";
|
||||
paramMap.put("ruleType", dbRuleType);
|
||||
}
|
||||
|
||||
String orderBy="\nORDER BY t2.TB_ID";
|
||||
|
||||
// 组装完整 SQL
|
||||
String sql = selectClause + fromJoin + condition + "\n" + groupByClause + orderBy;
|
||||
|
||||
return microservicDynamicSQLMapper.getAllListWithResultType(sql, paramMap, WarnYsVo.class);
|
||||
}
|
||||
|
||||
@ -139,11 +190,11 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
org.springframework.beans.BeanUtils.copyProperties(vo, entity);
|
||||
entity.setId(vo.getId());
|
||||
entity.setModifyTime(new Date());
|
||||
|
||||
// entity.setRuleType(getOldRuleType(entity.getRuleType()));
|
||||
List<MsWarnRuleDetailVo> detail = vo.getDetail();
|
||||
Integer lvl = null;
|
||||
if (!CollectionUtils.isEmpty(detail) && detail.get(0) != null && detail.get(0).getLvl() != null) {
|
||||
lvl = Integer.parseInt(detail.get(0).getLvl());
|
||||
if (!CollectionUtils.isEmpty(detail) && detail.getFirst() != null && detail.getFirst().getLvl() != null) {
|
||||
lvl = Integer.parseInt(detail.getFirst().getLvl());
|
||||
}
|
||||
|
||||
List<MsWarnRuleDetailB> detailBList = new ArrayList<>();
|
||||
@ -156,10 +207,13 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
i.getAndIncrement();
|
||||
MsWarnRuleDetailB detailB = new MsWarnRuleDetailB();
|
||||
detailB.setRuleId(vo.getId());
|
||||
detailB.setTbId(ysVo.getTbId());
|
||||
detailB.setYs(ysVo.getYs());
|
||||
detailB.setWarnLevel(detailVo.getWarnLevel());
|
||||
detailB.setLvl(detailVo.getLvl() != null ? Integer.parseInt(detailVo.getLvl()) : null);
|
||||
detailB.setTbId(ysVo.getTbId());
|
||||
detailB.setYs(ysVo.getYs());
|
||||
detailB.setMinVal(ysVo.getMinVal());
|
||||
detailB.setMaxVal(ysVo.getMaxVal());
|
||||
detailB.setMark(ysVo.getMark());
|
||||
DateTime dateTime = DateUtil.offsetSecond(new Date(), i.get());
|
||||
detailB.setTm(dateTime);
|
||||
detailB.setRecordUser(SecurityUtils.getCurrentUsername());
|
||||
@ -325,15 +379,15 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
public DataSourceResult<MsWarnRuleBVo> getRuleBindList(DataSourceRequest request) {
|
||||
DataSourceResult<MsWarnRuleBVo> dataSourceResult = new DataSourceResult<>();
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append("SELECT id AS bindId, STCD, STNM, STTP_CODE AS sttpCode, RULE_NAME AS ruleName, ")
|
||||
sql.append("SELECT id AS bindId, STCD,RULE_ID, STNM, STTP_CODE AS sttpCode, RULE_NAME AS ruleName, ")
|
||||
.append("RULE_TYPE AS ruleType, recordUser, MODIFY_TIME AS modifyTime, isShow, RULE_CODE AS ruleCode ")
|
||||
.append("FROM (\n")
|
||||
.append("SELECT t1.ID, t1.STCD, t3.STNM, t3.STTP_CODE, t2.RULE_NAME, t2.RULE_TYPE, ")
|
||||
.append("SELECT t1.ID,t2.ID RULE_ID, t1.STCD, t3.STNM, t3.STTP_CODE, t2.RULE_NAME, t2.RULE_TYPE, ")
|
||||
.append("t2.RECORD_USER AS recordUser, t2.MODIFY_TIME, t2.DESCRIPTION, t2.IS_SHOW AS isShow, t2.RULE_CODE ")
|
||||
.append("FROM MS_WARN_RULE_STBPRP_B t1\n")
|
||||
.append("INNER JOIN MS_WARN_RULE_B t2 ON t1.RULE_ID = t2.ID\n")
|
||||
.append("INNER JOIN V_MS_STBPRP_T t3 ON t1.STCD = t3.STCD\n")
|
||||
.append("WHERE t2.RULE_CODE IN ('common','custom')\n")
|
||||
.append("WHERE t2.RULE_CODE IN ('common','custom') AND t2.IS_DELETED=0 AND t3.IS_DELETED=0 AND t1.IS_DELETED=0 ORDER BY t1.RECORD_TIME DESC \n")
|
||||
.append(") WHERE 1=1");
|
||||
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
@ -346,6 +400,7 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
Page<?> page = loadOptions == null ? null : QgcQueryWrapperUtil.buildPage(loadOptions, loadOptions.getSkip(), loadOptions.getTake());
|
||||
List<MsWarnRuleBVo> list = microservicDynamicSQLMapper.pageAllListWithResultType(page, sql.toString(), params, MsWarnRuleBVo.class);
|
||||
dictCodeToNameConverter.convertCodeToName(list, CODE_TO_NAME_META_LIST);
|
||||
userNameFillHelper.fillUserNames(list);
|
||||
dataSourceResult.setData(list);
|
||||
dataSourceResult.setTotal(page == null ? list.size() : page.getTotal());
|
||||
return dataSourceResult;
|
||||
@ -403,11 +458,16 @@ public class MsWarnRuleBServiceImpl extends ServiceImpl<MsWarnRuleBMapper, MsWar
|
||||
MsWarnRuleDetailVo detailVo = new MsWarnRuleDetailVo();
|
||||
List<MsWarnRuleDetailB> detailGroup = warnLevelMap.get(warnLevel);
|
||||
List<WarnYsVo> ysVoList = new ArrayList<>();
|
||||
MsWarnRuleDetailB first = detailGroup.get(0);
|
||||
org.springframework.beans.BeanUtils.copyProperties(first, detailVo);
|
||||
MsWarnRuleDetailB first = detailGroup.getFirst();
|
||||
if (first != null && first.getLvl() != null) {
|
||||
detailVo.setLvl(first.getLvl().toString());
|
||||
}
|
||||
detailVo.setWarnLevel(first.getWarnLevel());
|
||||
// detailVo.setLvlName(first.n);
|
||||
// BeanUtils.copyProperties(first, detailVo);
|
||||
for (MsWarnRuleDetailB db : detailGroup) {
|
||||
WarnYsVo ysVo = new WarnYsVo();
|
||||
org.springframework.beans.BeanUtils.copyProperties(db, ysVo);
|
||||
BeanUtils.copyProperties(db, ysVo);
|
||||
ysVoList.add(ysVo);
|
||||
}
|
||||
detailVo.setYsList(ysVoList);
|
||||
|
||||
@ -170,7 +170,7 @@ public class SdEngInfoBHServiceImpl extends ServiceImpl<SdEngInfoBHMapper, SdEng
|
||||
wrapper.eq(StringUtils.hasText(baseId), SdEngInfoBH::getBaseId, baseId)
|
||||
.eq(StringUtils.hasText(hbrvcd), SdEngInfoBH::getHbrvcd, hbrvcd)
|
||||
.eq(StrUtil.isNotBlank(reachcd), SdEngInfoBH::getReachcd, reachcd)
|
||||
.eq(StrUtil.isNotBlank(rvcd), SdEngInfoBH::getReachcd, rvcd)
|
||||
.eq(StrUtil.isNotBlank(rvcd), SdEngInfoBH::getRvcd, rvcd)
|
||||
.in(rvcds != null && !rvcds.isEmpty(), SdEngInfoBH::getReachcd, rvcds)
|
||||
.in(hbrvcds != null && !hbrvcds.isEmpty(), SdEngInfoBH::getHbrvcd, hbrvcds)
|
||||
.like(StringUtils.hasText(ennm), SdEngInfoBH::getEnnm, ennm)
|
||||
@ -2096,6 +2096,8 @@ public class SdEngInfoBHServiceImpl extends ServiceImpl<SdEngInfoBHMapper, SdEng
|
||||
return switch (field) {
|
||||
case "id" -> "t.id";
|
||||
case "sttp" -> "t.sttp";
|
||||
case "hycd" -> "t.hycd";
|
||||
case "topHycd" -> "t.topHycd";
|
||||
case "sttpCode" -> "t.sttpCode";
|
||||
case "runState" -> "t.runState";
|
||||
case "sttpName" -> "t.sttpName";
|
||||
|
||||
@ -52,6 +52,7 @@ public class OverviewVmsstbprptVo implements Serializable {
|
||||
private BigDecimal inv;
|
||||
private Integer invinmn;
|
||||
private Date stdsdt;
|
||||
private String precis;
|
||||
private Date pststdt;
|
||||
private Date pesstdt;
|
||||
private Date swdt;
|
||||
|
||||
@ -477,7 +477,7 @@ public class VdMonitorServiceImpl implements VdMonitorService {
|
||||
|
||||
private DataSourceResult<VdRunDataVo> queryLatestRunDataDetailList(DataSourceRequest dataSourceRequest,
|
||||
DataSourceLoadOptionsBase loadOptions) {
|
||||
return queryRunDataDetailList(dataSourceRequest, loadOptions, buildLatestRunDataCoreSql());
|
||||
return queryRunDataDetailList(dataSourceRequest, loadOptions, buildRunDataCoreSql());
|
||||
}
|
||||
|
||||
private DataSourceResult<VdRunDataVo> queryRunDataDetailList(DataSourceRequest dataSourceRequest,
|
||||
@ -513,7 +513,7 @@ public class VdMonitorServiceImpl implements VdMonitorService {
|
||||
|
||||
private DataSourceResult<VdRunDataVo> queryLatestRunDataGroupList(DataSourceRequest dataSourceRequest,
|
||||
DataSourceLoadOptionsBase loadOptions) {
|
||||
return queryRunDataGroupList(dataSourceRequest, loadOptions, buildLatestRunDataCoreSql());
|
||||
return queryRunDataGroupList(dataSourceRequest, loadOptions, buildRunDataCoreSql());
|
||||
}
|
||||
|
||||
private DataSourceResult<VdPointVo> queryVdPointDetailList(DataSourceRequest dataSourceRequest,
|
||||
@ -843,103 +843,137 @@ public class VdMonitorServiceImpl implements VdMonitorService {
|
||||
"AND src.LGTD IS NOT NULL " +
|
||||
"AND src.LTTD IS NOT NULL ";
|
||||
}
|
||||
|
||||
private String buildRunDataCoreSql() {
|
||||
return "SELECT " +
|
||||
"run.ID AS id, " +
|
||||
"run.STCD AS stcd, " +
|
||||
"run.TM AS tm, " +
|
||||
"NVL(run.FLNM, base.STNM || ' ' || TO_CHAR(run.TM, 'yyyy-mm-dd hh24')) AS flnm, " +
|
||||
"run.IMG_PATH AS imgPath, " +
|
||||
"run.FLPTH AS flpth, " +
|
||||
"run.DEVICEINFO AS deviceinfo, " +
|
||||
"run.DESCRIBE AS describe, " +
|
||||
"run.FID AS fid, " +
|
||||
"run.THUMBNAIL AS thumbnail, " +
|
||||
"base.RSTCD AS rstcd, " +
|
||||
"base.STNM AS stnm, " +
|
||||
"eng.ENNM AS ennm, " +
|
||||
"base.FHSTCD AS fhstcd, " +
|
||||
"fh.STNM AS fhstnm, " +
|
||||
"base.CSTCD AS stCode, " +
|
||||
"cst.STNM AS stName, " +
|
||||
"NVL(eng.BASE_ID, base.BASE_ID) AS baseId, " +
|
||||
"hb.BASENAME AS baseName, " +
|
||||
"base.STTP AS sttpCode, " +
|
||||
"sttp.STTP_NAME AS sttpName, " +
|
||||
"base.STNM AS titleName, " +
|
||||
"NVL(hb.ORDER_INDEX, 999999) AS baseStepSort, " +
|
||||
"NVL(hbrv.ORDER_INDEX, 999999) AS rvcdStepSort, " +
|
||||
"NVL(eng.ORDER_INDEX, 999999) AS rstcdStepSort, " +
|
||||
"NVL(base.ORDER_INDEX, 999999) AS siteStepSort, " +
|
||||
"NVL(eng.HBRVCD, base.HBRVCD) AS hbrvcd, " +
|
||||
"hbrv.HBRVNM AS hbrvcdName " +
|
||||
"FROM SD_VDINFO_R run " +
|
||||
"INNER JOIN (" + buildVdDeviceBaseSql() + ") base ON run.STCD = base.STCD " +
|
||||
"LEFT JOIN SD_ENGINFO_B_H eng ON eng.STCD = base.RSTCD AND NVL(eng.IS_DELETED, 0) = 0 " +
|
||||
"LEFT JOIN SD_HYDROBASE hb ON hb.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
" AND NVL(hb.IS_DELETED, 0) = 0 AND NVL(hb.ENABLED, 1) = 1 " +
|
||||
"LEFT JOIN SD_HBRV_DIC hbrv ON hbrv.HBRVCD = NVL(eng.HBRVCD, base.HBRVCD) " +
|
||||
" AND hbrv.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
" AND NVL(hbrv.IS_DELETED, 0) = 0 AND NVL(hbrv.ENABLED, 1) = 1 " +
|
||||
"LEFT JOIN SD_FHBT_B_H fh ON fh.STCD = base.FHSTCD AND NVL(fh.IS_DELETED, 0) = 0 " +
|
||||
"LEFT JOIN (" + buildStationBaseSql() + ") cst ON cst.STCD = base.CSTCD " +
|
||||
"LEFT JOIN SD_STTP_B sttp ON sttp.STTP_CODE = base.STTP " +
|
||||
" AND NVL(sttp.IS_DELETED, 0) = 0 AND NVL(sttp.ENABLE, 1) = 1 " +
|
||||
"WHERE NVL(run.IS_DELETED, 0) = 0 ";
|
||||
return " SELECT\n" +
|
||||
" a.ID,\n" +
|
||||
" a.STCD,\n" +
|
||||
" a.TM,\n" +
|
||||
" b.stnm || ' ' || to_char(a.TM, 'yyyy-mm-dd hh24') AS FLNM,\n" +
|
||||
" a.IMG_PATH,\n" +
|
||||
" a.FLPTH,\n" +
|
||||
" a.DEVICEINFO,\n" +
|
||||
" a.DESCRIBE,\n" +
|
||||
" a.FID,\n" +
|
||||
" a.THUMBNAIL,\n" +
|
||||
" b.RSTCD,\n" +
|
||||
" b.stnm,\n" +
|
||||
" b.ennm,\n" +
|
||||
" b.FHSTCD,\n" +
|
||||
" b.FHSTNM,\n" +
|
||||
" b.STCODE AS stCode,\n" +
|
||||
" b.STNAME AS stName,\n" +
|
||||
" b.BASE_ID AS baseId,\n" +
|
||||
" b.BASE_NAME AS baseName,\n" +
|
||||
" b.sttp_code AS sttpCode,\n" +
|
||||
" b.sttp_name AS sttpName,\n" +
|
||||
" b.stnm AS titleName,\n" +
|
||||
" b.basestepsort,\n" +
|
||||
" b.rvcdstepsort,\n" +
|
||||
" b.rstcdstepsort,\n" +
|
||||
" b.hbrvcd,\n" +
|
||||
" b.hbrvcd_name\n" +
|
||||
" FROM SD_VDINFO_R a\n" +
|
||||
" INNER JOIN V_MS_STBPRP_T b\n" +
|
||||
" ON a.STCD = b.STCD\n" +
|
||||
" AND b.IS_DELETED = 0";
|
||||
}
|
||||
|
||||
private String buildLatestRunDataCoreSql() {
|
||||
return "SELECT " +
|
||||
"run.ID AS id, " +
|
||||
"run.STCD AS stcd, " +
|
||||
"run.TM AS tm, " +
|
||||
"NVL(run.FLNM, base.STNM || ' ' || TO_CHAR(run.TM, 'yyyy-mm-dd hh24')) AS flnm, " +
|
||||
"run.IMG_PATH AS imgPath, " +
|
||||
"run.FLPTH AS flpth, " +
|
||||
"run.DEVICEINFO AS deviceinfo, " +
|
||||
"run.DESCRIBE AS describe, " +
|
||||
"run.FID AS fid, " +
|
||||
"run.THUMBNAIL AS thumbnail, " +
|
||||
"base.RSTCD AS rstcd, " +
|
||||
"base.STNM AS stnm, " +
|
||||
"eng.ENNM AS ennm, " +
|
||||
"base.FHSTCD AS fhstcd, " +
|
||||
"fh.STNM AS fhstnm, " +
|
||||
"base.CSTCD AS stCode, " +
|
||||
"cst.STNM AS stName, " +
|
||||
"NVL(eng.BASE_ID, base.BASE_ID) AS baseId, " +
|
||||
"hb.BASENAME AS baseName, " +
|
||||
"base.STTP AS sttpCode, " +
|
||||
"sttp.STTP_NAME AS sttpName, " +
|
||||
"base.STNM AS titleName, " +
|
||||
"NVL(hb.ORDER_INDEX, 999999) AS baseStepSort, " +
|
||||
"NVL(hbrv.ORDER_INDEX, 999999) AS rvcdStepSort, " +
|
||||
"NVL(eng.ORDER_INDEX, 999999) AS rstcdStepSort, " +
|
||||
"NVL(base.ORDER_INDEX, 999999) AS siteStepSort, " +
|
||||
"NVL(eng.HBRVCD, base.HBRVCD) AS hbrvcd, " +
|
||||
"hbrv.HBRVNM AS hbrvcdName " +
|
||||
"FROM ( " +
|
||||
"SELECT detail.ID, detail.STCD, detail.TM, detail.FLNM, detail.IMG_PATH, detail.FLPTH, detail.DEVICEINFO, " +
|
||||
"detail.DESCRIBE, detail.FID, detail.THUMBNAIL " +
|
||||
"FROM SD_VDINFO_R detail " +
|
||||
"INNER JOIN ( " +
|
||||
"SELECT STCD, MAX(TM) AS TM FROM SD_VDINFO_R WHERE NVL(IS_DELETED, 0) = 0 GROUP BY STCD " +
|
||||
") latest ON detail.STCD = latest.STCD AND detail.TM = latest.TM " +
|
||||
"WHERE NVL(detail.IS_DELETED, 0) = 0 " +
|
||||
") run " +
|
||||
"INNER JOIN (" + buildVdDeviceBaseSql() + ") base ON run.STCD = base.STCD " +
|
||||
"LEFT JOIN SD_ENGINFO_B_H eng ON eng.STCD = base.RSTCD AND NVL(eng.IS_DELETED, 0) = 0 " +
|
||||
"LEFT JOIN SD_HYDROBASE hb ON hb.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
" AND NVL(hb.IS_DELETED, 0) = 0 AND NVL(hb.ENABLED, 1) = 1 " +
|
||||
"LEFT JOIN SD_HBRV_DIC hbrv ON hbrv.HBRVCD = NVL(eng.HBRVCD, base.HBRVCD) " +
|
||||
" AND hbrv.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
" AND NVL(hbrv.IS_DELETED, 0) = 0 AND NVL(hbrv.ENABLED, 1) = 1 " +
|
||||
"LEFT JOIN SD_FHBT_B_H fh ON fh.STCD = base.FHSTCD AND NVL(fh.IS_DELETED, 0) = 0 " +
|
||||
"LEFT JOIN (" + buildStationBaseSql() + ") cst ON cst.STCD = base.CSTCD " +
|
||||
"LEFT JOIN SD_STTP_B sttp ON sttp.STTP_CODE = base.STTP " +
|
||||
" AND NVL(sttp.IS_DELETED, 0) = 0 AND NVL(sttp.ENABLE, 1) = 1 ";
|
||||
}
|
||||
// private String buildRunDataCoreSql() {
|
||||
// return "SELECT " +
|
||||
// "run.ID AS id, " +
|
||||
// "run.STCD AS stcd, " +
|
||||
// "run.TM AS tm, " +
|
||||
// "NVL(run.FLNM, base.STNM || ' ' || TO_CHAR(run.TM, 'yyyy-mm-dd hh24')) AS flnm, " +
|
||||
// "run.IMG_PATH AS imgPath, " +
|
||||
// "run.FLPTH AS flpth, " +
|
||||
// "run.DEVICEINFO AS deviceinfo, " +
|
||||
// "run.DESCRIBE AS describe, " +
|
||||
// "run.FID AS fid, " +
|
||||
// "run.THUMBNAIL AS thumbnail, " +
|
||||
// "base.RSTCD AS rstcd, " +
|
||||
// "base.STNM AS stnm, " +
|
||||
// "eng.ENNM AS ennm, " +
|
||||
// "base.FHSTCD AS fhstcd, " +
|
||||
// "fh.STNM AS fhstnm, " +
|
||||
// "base.CSTCD AS stCode, " +
|
||||
// "cst.STNM AS stName, " +
|
||||
// "NVL(eng.BASE_ID, base.BASE_ID) AS baseId, " +
|
||||
// "hb.BASENAME AS baseName, " +
|
||||
// "base.STTP AS sttpCode, " +
|
||||
// "sttp.STTP_NAME AS sttpName, " +
|
||||
// "base.STNM AS titleName, " +
|
||||
// "NVL(hb.ORDER_INDEX, 999999) AS baseStepSort, " +
|
||||
// "NVL(hbrv.ORDER_INDEX, 999999) AS rvcdStepSort, " +
|
||||
// "NVL(eng.ORDER_INDEX, 999999) AS rstcdStepSort, " +
|
||||
// "NVL(base.ORDER_INDEX, 999999) AS siteStepSort, " +
|
||||
// "NVL(eng.HBRVCD, base.HBRVCD) AS hbrvcd, " +
|
||||
// "hbrv.HBRVNM AS hbrvcdName " +
|
||||
// "FROM SD_VDINFO_R run " +
|
||||
// "INNER JOIN (" + buildVdDeviceBaseSql() + ") base ON run.STCD = base.STCD " +
|
||||
// "LEFT JOIN SD_ENGINFO_B_H eng ON eng.STCD = base.RSTCD AND NVL(eng.IS_DELETED, 0) = 0 " +
|
||||
// "LEFT JOIN SD_HYDROBASE hb ON hb.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
// " AND NVL(hb.IS_DELETED, 0) = 0 AND NVL(hb.ENABLED, 1) = 1 " +
|
||||
// "LEFT JOIN SD_HBRV_DIC hbrv ON hbrv.HBRVCD = NVL(eng.HBRVCD, base.HBRVCD) " +
|
||||
// " AND hbrv.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
// " AND NVL(hbrv.IS_DELETED, 0) = 0 AND NVL(hbrv.ENABLED, 1) = 1 " +
|
||||
// "LEFT JOIN SD_FHBT_B_H fh ON fh.STCD = base.FHSTCD AND NVL(fh.IS_DELETED, 0) = 0 " +
|
||||
// "LEFT JOIN (" + buildStationBaseSql() + ") cst ON cst.STCD = base.CSTCD " +
|
||||
// "LEFT JOIN SD_STTP_B sttp ON sttp.STTP_CODE = base.STTP " +
|
||||
// " AND NVL(sttp.IS_DELETED, 0) = 0 AND NVL(sttp.ENABLE, 1) = 1 " +
|
||||
// "WHERE NVL(run.IS_DELETED, 0) = 0 ";
|
||||
// }
|
||||
|
||||
// private String buildLatestRunDataCoreSql() {
|
||||
// return "SELECT " +
|
||||
// "run.ID AS id, " +
|
||||
// "run.STCD AS stcd, " +
|
||||
// "run.TM AS tm, " +
|
||||
// "NVL(run.FLNM, base.STNM || ' ' || TO_CHAR(run.TM, 'yyyy-mm-dd hh24')) AS flnm, " +
|
||||
// "run.IMG_PATH AS imgPath, " +
|
||||
// "run.FLPTH AS flpth, " +
|
||||
// "run.DEVICEINFO AS deviceinfo, " +
|
||||
// "run.DESCRIBE AS describe, " +
|
||||
// "run.FID AS fid, " +
|
||||
// "run.THUMBNAIL AS thumbnail, " +
|
||||
// "base.RSTCD AS rstcd, " +
|
||||
// "base.STNM AS stnm, " +
|
||||
// "eng.ENNM AS ennm, " +
|
||||
// "base.FHSTCD AS fhstcd, " +
|
||||
// "fh.STNM AS fhstnm, " +
|
||||
// "base.CSTCD AS stCode, " +
|
||||
// "cst.STNM AS stName, " +
|
||||
// "NVL(eng.BASE_ID, base.BASE_ID) AS baseId, " +
|
||||
// "hb.BASENAME AS baseName, " +
|
||||
// "base.STTP AS sttpCode, " +
|
||||
// "sttp.STTP_NAME AS sttpName, " +
|
||||
// "base.STNM AS titleName, " +
|
||||
// "NVL(hb.ORDER_INDEX, 999999) AS baseStepSort, " +
|
||||
// "NVL(hbrv.ORDER_INDEX, 999999) AS rvcdStepSort, " +
|
||||
// "NVL(eng.ORDER_INDEX, 999999) AS rstcdStepSort, " +
|
||||
// "NVL(base.ORDER_INDEX, 999999) AS siteStepSort, " +
|
||||
// "NVL(eng.HBRVCD, base.HBRVCD) AS hbrvcd, " +
|
||||
// "hbrv.HBRVNM AS hbrvcdName " +
|
||||
// "FROM ( " +
|
||||
// "SELECT detail.ID, detail.STCD, detail.TM, detail.FLNM, detail.IMG_PATH, detail.FLPTH, detail.DEVICEINFO, " +
|
||||
// "detail.DESCRIBE, detail.FID, detail.THUMBNAIL " +
|
||||
// "FROM SD_VDINFO_R detail " +
|
||||
// "INNER JOIN ( " +
|
||||
// "SELECT STCD, MAX(TM) AS TM FROM SD_VDINFO_R WHERE NVL(IS_DELETED, 0) = 0 GROUP BY STCD " +
|
||||
// ") latest ON detail.STCD = latest.STCD AND detail.TM = latest.TM " +
|
||||
// "WHERE NVL(detail.IS_DELETED, 0) = 0 " +
|
||||
// ") run " +
|
||||
// "INNER JOIN (" + buildVdDeviceBaseSql() + ") base ON run.STCD = base.STCD " +
|
||||
// "LEFT JOIN SD_ENGINFO_B_H eng ON eng.STCD = base.RSTCD AND NVL(eng.IS_DELETED, 0) = 0 " +
|
||||
// "LEFT JOIN SD_HYDROBASE hb ON hb.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
// " AND NVL(hb.IS_DELETED, 0) = 0 AND NVL(hb.ENABLED, 1) = 1 " +
|
||||
// "LEFT JOIN SD_HBRV_DIC hbrv ON hbrv.HBRVCD = NVL(eng.HBRVCD, base.HBRVCD) " +
|
||||
// " AND hbrv.BASEID = NVL(eng.BASE_ID, base.BASE_ID) " +
|
||||
// " AND NVL(hbrv.IS_DELETED, 0) = 0 AND NVL(hbrv.ENABLED, 1) = 1 " +
|
||||
// "LEFT JOIN SD_FHBT_B_H fh ON fh.STCD = base.FHSTCD AND NVL(fh.IS_DELETED, 0) = 0 " +
|
||||
// "LEFT JOIN (" + buildStationBaseSql() + ") cst ON cst.STCD = base.CSTCD " +
|
||||
// "LEFT JOIN SD_STTP_B sttp ON sttp.STTP_CODE = base.STTP " +
|
||||
// " AND NVL(sttp.IS_DELETED, 0) = 0 AND NVL(sttp.ENABLE, 1) = 1 ";
|
||||
// }
|
||||
|
||||
private String buildStationBaseSql() {
|
||||
return "SELECT river.STCD AS STCD, river.STNM AS STNM FROM SD_RIVER_B_H river WHERE NVL(river.IS_DELETED, 0) = 0 " +
|
||||
@ -959,7 +993,7 @@ public class VdMonitorServiceImpl implements VdMonitorService {
|
||||
selectMap.put("stcd", "t.stcd AS stcd");
|
||||
selectMap.put("tm", "t.tm AS tm");
|
||||
selectMap.put("flnm", "t.flnm AS flnm");
|
||||
selectMap.put("imgPath", "t.imgPath AS imgPath");
|
||||
selectMap.put("imgPath", "t.IMG_PATH AS imgPath");
|
||||
selectMap.put("flpth", "t.flpth AS flpth");
|
||||
selectMap.put("deviceinfo", "t.deviceinfo AS deviceinfo");
|
||||
selectMap.put("describe", "t.describe AS describe");
|
||||
@ -979,9 +1013,9 @@ public class VdMonitorServiceImpl implements VdMonitorService {
|
||||
selectMap.put("baseStepSort", "t.baseStepSort AS baseStepSort");
|
||||
selectMap.put("rvcdStepSort", "t.rvcdStepSort AS rvcdStepSort");
|
||||
selectMap.put("rstcdStepSort", "t.rstcdStepSort AS rstcdStepSort");
|
||||
selectMap.put("siteStepSort", "t.siteStepSort AS siteStepSort");
|
||||
// selectMap.put("siteStepSort", "t.siteStepSort AS siteStepSort");
|
||||
selectMap.put("hbrvcd", "t.hbrvcd AS hbrvcd");
|
||||
selectMap.put("hbrvcdName", "t.hbrvcdName AS hbrvcdName");
|
||||
selectMap.put("hbrvcdName", "t.hbrvcd_name AS hbrvcdName");
|
||||
|
||||
if (CollUtil.isEmpty(selectFields)) {
|
||||
return String.join(", ", selectMap.values());
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
package com.yfd.platform.qgc_sys.warnRule.controller;
|
||||
|
||||
import com.yfd.platform.common.DataSourceLoadOptionsBase;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.service.IMsWarnRuleBService;
|
||||
import com.yfd.platform.qgc_sys.warnRule.vo.MsWarnRuleBVo;
|
||||
import com.yfd.platform.utils.QgcQueryWrapperUtil;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
@ -33,11 +35,13 @@ public class MsWarnRuleBController {
|
||||
@PostMapping("/ysList")
|
||||
@Operation(summary = "获取告警类型对应的要素")
|
||||
public ResponseResult getAllYs(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
String ruleType = getFilterFieldValue(dataSourceRequest, "ruleType");
|
||||
DataSourceLoadOptionsBase loadOptions = dataSourceRequest.toDevRequest();
|
||||
String ruleType = QgcQueryWrapperUtil.getFilterFieldValue(loadOptions, "ruleType");
|
||||
String ruleId = QgcQueryWrapperUtil.getFilterFieldValue(loadOptions, "ruleId");
|
||||
if (ruleType == null || ruleType.isEmpty()) {
|
||||
return ResponseResult.error("ruleType 不能为空");
|
||||
}
|
||||
return ResponseResult.successData(msWarnRuleBService.getAllYs(ruleType));
|
||||
return ResponseResult.successData(msWarnRuleBService.getAllYs(ruleId,ruleType));
|
||||
}
|
||||
|
||||
@PostMapping("/addOrUpdate")
|
||||
@ -108,31 +112,31 @@ public class MsWarnRuleBController {
|
||||
return ResponseResult.successData(msWarnRuleBService.getRuleListByStcd(stcd, ruleType, lvl));
|
||||
}
|
||||
|
||||
/**
|
||||
* 从 DataSourceRequest 过滤条件中提取指定字段的值
|
||||
*/
|
||||
private String getFilterFieldValue(DataSourceRequest request, String fieldName) {
|
||||
if (request == null || request.getFilter() == null) {
|
||||
return null;
|
||||
}
|
||||
return findFilterValue(request.getFilter(), fieldName);
|
||||
}
|
||||
|
||||
private String findFilterValue(DataSourceRequest.FilterDescriptor filter, String fieldName) {
|
||||
if (filter == null) {
|
||||
return null;
|
||||
}
|
||||
if (fieldName.equals(filter.getField()) && filter.getValue() != null) {
|
||||
return filter.getValue().toString();
|
||||
}
|
||||
if (filter.getFilters() != null) {
|
||||
for (DataSourceRequest.FilterDescriptor child : filter.getFilters()) {
|
||||
String value = findFilterValue(child, fieldName);
|
||||
if (value != null) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
// /**
|
||||
// * 从 DataSourceRequest 过滤条件中提取指定字段的值
|
||||
// */
|
||||
// private String getFilterFieldValue(DataSourceRequest request, String fieldName) {
|
||||
// if (request == null || request.getFilter() == null) {
|
||||
// return null;
|
||||
// }
|
||||
// return findFilterValue(request.getFilter(), fieldName);
|
||||
// }
|
||||
//
|
||||
// private String findFilterValue(DataSourceRequest.FilterDescriptor filter, String fieldName) {
|
||||
// if (filter == null) {
|
||||
// return null;
|
||||
// }
|
||||
// if (fieldName.equals(filter.getField()) && filter.getValue() != null) {
|
||||
// return filter.getValue().toString();
|
||||
// }
|
||||
// if (filter.getFilters() != null) {
|
||||
// for (DataSourceRequest.FilterDescriptor child : filter.getFilters()) {
|
||||
// String value = findFilterValue(child, fieldName);
|
||||
// if (value != null) {
|
||||
// return value;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return null;
|
||||
// }
|
||||
}
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
package com.yfd.platform.qgc_sys.warnRule.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yfd.platform.annotation.UserIdField;
|
||||
import com.yfd.platform.annotation.UserNameField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
@ -18,6 +21,8 @@ public class MsWarnRuleBVo {
|
||||
/** 设施与规则绑定id */
|
||||
private String bindId;
|
||||
|
||||
/** 告警规则名称 */
|
||||
private String ruleId;
|
||||
/** 告警规则名称 */
|
||||
private String ruleName;
|
||||
|
||||
@ -58,11 +63,17 @@ public class MsWarnRuleBVo {
|
||||
private List<MsWarnRuleDetailVo> detail;
|
||||
|
||||
/** 创建人 */
|
||||
@UserIdField
|
||||
private String recordUser;
|
||||
|
||||
/** 创建人名称 */
|
||||
/** 创建人 */
|
||||
@UserNameField
|
||||
@TableField(exist = false)
|
||||
private String recordUserName;
|
||||
|
||||
// /** 创建人名称 */
|
||||
// private String recordUserName;
|
||||
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@ -15,6 +15,12 @@ public class WarnYsVo {
|
||||
/** 要素编码 */
|
||||
private String ys;
|
||||
|
||||
/** 等级 */
|
||||
private Integer lvl;
|
||||
|
||||
/** 告警等级 */
|
||||
private String warnLevel;
|
||||
|
||||
/** 要素名称 */
|
||||
private String ysName;
|
||||
|
||||
|
||||
@ -129,4 +129,4 @@ attachment:
|
||||
token: ${ATTACHMENT_TOKEN:qgcBkod25ngBa4wu8BtfCPYsJ7lQGVDoexH}
|
||||
upload-url: ${ATTACHMENT_UPLOAD_URL:http://172.16.31.185:18200/upload}
|
||||
video-url: ${ATTACHMENT_VIDEO_URL:http://172.16.31.185:18200/upload}
|
||||
delete-url: ${ATTACHMENT_DELETE_URL:http://172.16.31.185:18200/delete}
|
||||
delete-url: ${ATTACHMENT_DELETE_URL:http://172.16.31.185:18200/FileDelete}
|
||||
|
||||
@ -285,4 +285,4 @@ attachment:
|
||||
token: ${ATTACHMENT_TOKEN:qgcBkod25ngBa4wu8BtfCPYsJ7lQGVDoexH}
|
||||
upload-url: ${ATTACHMENT_UPLOAD_URL:http://172.16.31.185:18200/upload}
|
||||
video-url: ${ATTACHMENT_VIDEO_URL:http://172.16.31.185:18200/upload}
|
||||
delete-url: ${ATTACHMENT_DELETE_URL:http://172.16.31.185:18200/delete}
|
||||
delete-url: ${ATTACHMENT_DELETE_URL:http://172.16.31.185:18200/FileDelete}
|
||||
Loading…
Reference in New Issue
Block a user