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