Commit 60f67b73 authored by suhuiguang's avatar suhuiguang

1.修改字段

parent 89b4030e
package com.yeejoin.amos.fas.dao.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.*;
/**
......@@ -114,12 +111,14 @@ public class Equipment extends BasicEntity {
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
......
......@@ -79,12 +79,14 @@ public class FireCar extends BasicEntity {
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
......
......@@ -124,12 +124,14 @@ public class FireEquipment extends BasicEntity {
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
......
......@@ -3,11 +3,7 @@ package com.yeejoin.amos.fas.dao.entity;
import java.util.List;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
/**
* 消防站点
......@@ -87,12 +83,14 @@ public class FireStation extends BasicEntity{
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
......
......@@ -57,18 +57,21 @@ public class RiskSource extends BasicEntity {
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
/**
* ue4缩放
*/
@Lob
@Column(name = "ue4_extent")
private String ue4Extent;
......
package com.yeejoin.amos.fas.dao.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.*;
/**
* 水资源
* @author
......@@ -88,12 +86,14 @@ public class WaterResource extends BasicEntity{
/**
* ue4位置
*/
@Lob
@Column(name = "ue4_location")
private String ue4Location;
/**
* ue4旋转
*/
@Lob
@Column(name = "ue4_rotation")
private String ue4Rotation;
......
......@@ -14,7 +14,7 @@
</preConditions>
<comment>f_risk_source add column ue4_location</comment>
<sql>
alter table `f_risk_source` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_risk_source` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587349916716-2">
......@@ -25,7 +25,7 @@
</preConditions>
<comment>f_risk_source add column ue4_rotation</comment>
<sql>
alter table `f_risk_source` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_risk_source` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587349916716-3">
......@@ -36,7 +36,7 @@
</preConditions>
<comment>f_risk_source add column ue4_extent</comment>
<sql>
alter table `f_risk_source` add column `ue4_extent` json default null comment 'ue4缩放' after `position3d`;
alter table `f_risk_source` add column `ue4_extent` text default null comment 'ue4缩放' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587351415717-1">
......@@ -47,7 +47,7 @@
</preConditions>
<comment>f_equipment add column ue4_location</comment>
<sql>
alter table `f_equipment` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_equipment` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587351415717-2">
......@@ -58,7 +58,7 @@
</preConditions>
<comment>f_equipment add column ue4_rotation</comment>
<sql>
alter table `f_equipment` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_equipment` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350445716-1">
......@@ -69,7 +69,7 @@
</preConditions>
<comment>f_fire_car add column ue4_location</comment>
<sql>
alter table `f_fire_car` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_fire_car` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350445716-2">
......@@ -80,7 +80,7 @@
</preConditions>
<comment>f_fire_car add column ue4_rotation</comment>
<sql>
alter table `f_fire_car` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_fire_car` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350552716-1">
......@@ -91,7 +91,7 @@
</preConditions>
<comment>f_fire_equipment add column ue4_location</comment>
<sql>
alter table `f_fire_equipment` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_fire_equipment` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350552716-2">
......@@ -102,7 +102,7 @@
</preConditions>
<comment>f_fire_equipment add column ue4_rotation</comment>
<sql>
alter table `f_fire_equipment` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_fire_equipment` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350593716-1">
......@@ -113,7 +113,7 @@
</preConditions>
<comment>f_fire_station add column ue4_location</comment>
<sql>
alter table `f_fire_station` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_fire_station` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350593716-2">
......@@ -124,7 +124,7 @@
</preConditions>
<comment>f_fire_station add column ue4_rotation</comment>
<sql>
alter table `f_fire_station` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_fire_station` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350759717-1">
......@@ -135,7 +135,7 @@
</preConditions>
<comment>f_water_resource add column ue4_location</comment>
<sql>
alter table `f_water_resource` add column `ue4_location` json default null comment 'ue4位置' after `position3d`;
alter table `f_water_resource` add column `ue4_location` text default null comment 'ue4位置' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350759717-2">
......@@ -146,7 +146,7 @@
</preConditions>
<comment>f_water_resource add column ue4_rotation</comment>
<sql>
alter table `f_water_resource` add column `ue4_rotation` json default null comment 'ue4旋转' after `position3d`;
alter table `f_water_resource` add column `ue4_rotation` text default null comment 'ue4旋转' after `position3d`;
</sql>
</changeSet>
<changeSet author="suhuiguang" id="1587350860716-1">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment