From 09475ecf1069c0ffb9b692e88b223a4f71328e07 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Mon, 3 Jul 2023 16:40:29 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E7=AB=99=E7=82=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=98=AF=E5=90=A6=E5=9B=BD=E5=A4=96=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzims/operational/station/entity/StationEntity.java | 4 ++++ hzims-service/operational/src/main/resources/db/1.0.1.sql | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 hzims-service/operational/src/main/resources/db/1.0.1.sql diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java index d55aa6b..fe0fd23 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/entity/StationEntity.java @@ -156,4 +156,8 @@ public class StationEntity extends TenantEntity implements Serializable { @ApiModelProperty("是否发送告警短信: 1-发送短信 0-不发送短信") private Integer sendMessageFlag; + + @ApiModelProperty("站点是否为国外 1:是;0:否") + @QueryField(condition = SqlCondition.EQUAL) + private Boolean isAbroad; } diff --git a/hzims-service/operational/src/main/resources/db/1.0.1.sql b/hzims-service/operational/src/main/resources/db/1.0.1.sql new file mode 100644 index 0000000..6204f7b --- /dev/null +++ b/hzims-service/operational/src/main/resources/db/1.0.1.sql @@ -0,0 +1,2 @@ +-- 站点表添加是否为国外 +alter table `hzims_station` add column `is_abroad` TINYINT NULL comment '站点是否为国外 1:是;0:否'; \ No newline at end of file