Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeSafety3DRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeSafety3DRoot
Commits
c06f6cad
Commit
c06f6cad
authored
Feb 29, 2020
by
taabe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3维点对象增加闪烁频次字段
parent
ca407055
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
Node3DVo.java
.../java/com/yeejoin/amos/safety/common/entity/Node3DVo.java
+12
-1
View3DHandler.java
...va/com/yeejoin/amos/safety/common/view/View3DHandler.java
+1
-0
initdata-1.1.0.xml
...DStart/src/main/resources/db/changelog/initdata-1.1.0.xml
+13
-0
No files found.
YeeSafety3DServer/src/main/java/com/yeejoin/amos/safety/common/entity/Node3DVo.java
View file @
c06f6cad
...
@@ -158,7 +158,10 @@ public class Node3DVo extends BusinessEntity
...
@@ -158,7 +158,10 @@ public class Node3DVo extends BusinessEntity
*/
*/
@Column
(
name
=
"remark"
)
@Column
(
name
=
"remark"
)
private
String
remark
;
private
String
remark
;
@Column
(
name
=
"frequency"
)
private
Integer
frequency
;
@Transient
@Transient
private
PointInfoResponse
pointInfoResponse
;
private
PointInfoResponse
pointInfoResponse
;
...
@@ -334,5 +337,12 @@ public class Node3DVo extends BusinessEntity
...
@@ -334,5 +337,12 @@ public class Node3DVo extends BusinessEntity
this
.
pointInfoResponse
=
pointInfoResponse
;
this
.
pointInfoResponse
=
pointInfoResponse
;
}
}
public
Integer
getFrequency
()
{
return
frequency
;
}
public
void
setFrequency
(
Integer
frequency
)
{
this
.
frequency
=
frequency
;
}
}
}
\ No newline at end of file
YeeSafety3DServer/src/main/java/com/yeejoin/amos/safety/common/view/View3DHandler.java
View file @
c06f6cad
...
@@ -152,6 +152,7 @@ public class View3DHandler
...
@@ -152,6 +152,7 @@ public class View3DHandler
nodeMap
.
put
(
"scale"
,
node3DVo
.
getScaleDTO
());
nodeMap
.
put
(
"scale"
,
node3DVo
.
getScaleDTO
());
nodeMap
.
put
(
"objKey"
,
nodeConfigDTO
.
getBelongObjModel
());
nodeMap
.
put
(
"objKey"
,
nodeConfigDTO
.
getBelongObjModel
());
nodeMap
.
put
(
"inDoor"
,
nodeConfigDTO
.
getIsIndoor
());
nodeMap
.
put
(
"inDoor"
,
nodeConfigDTO
.
getIsIndoor
());
nodeMap
.
put
(
"frequency"
,
node3DVo
.
getFrequency
());
nodeList
.
add
(
nodeMap
);
nodeList
.
add
(
nodeMap
);
viewTypeMap
.
put
(
node3DVo
.
getType
(),
nodeList
);
viewTypeMap
.
put
(
node3DVo
.
getType
(),
nodeList
);
}
}
...
...
YeeSafety3DStart/src/main/resources/db/changelog/initdata-1.1.0.xml
View file @
c06f6cad
...
@@ -78,4 +78,16 @@
...
@@ -78,4 +78,16 @@
ALTER TABLE `toip_biz_node3dvo` ADD COLUMN `route_name` varchar(512) DEFAULT NULL COMMENT '线路的名称';
ALTER TABLE `toip_biz_node3dvo` ADD COLUMN `route_name` varchar(512) DEFAULT NULL COMMENT '线路的名称';
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"tianbo"
id=
"1582898029433-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"toip_biz_node3dvo"
columnName=
"frequency"
/>
</not>
</preConditions>
<comment>
add column frequency
</comment>
<sql>
ALTER TABLE `toip_biz_node3dvo` ADD COLUMN `frequency` int(11) DEFAULT '0' COMMENT '一秒闪烁次数';
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment