Commit c06f6cad authored by taabe's avatar taabe

3维点对象增加闪烁频次字段

parent ca407055
......@@ -159,6 +159,9 @@ public class Node3DVo extends BusinessEntity
@Column(name = "remark")
private String remark;
@Column(name = "frequency")
private Integer frequency;
@Transient
private PointInfoResponse pointInfoResponse;
......@@ -334,5 +337,12 @@ public class Node3DVo extends BusinessEntity
this.pointInfoResponse = pointInfoResponse;
}
public Integer getFrequency() {
return frequency;
}
public void setFrequency(Integer frequency) {
this.frequency = frequency;
}
}
\ No newline at end of file
......@@ -152,6 +152,7 @@ public class View3DHandler
nodeMap.put("scale", node3DVo.getScaleDTO());
nodeMap.put("objKey", nodeConfigDTO.getBelongObjModel());
nodeMap.put("inDoor", nodeConfigDTO.getIsIndoor());
nodeMap.put("frequency", node3DVo.getFrequency());
nodeList.add(nodeMap);
viewTypeMap.put(node3DVo.getType(), nodeList);
}
......
......@@ -78,4 +78,16 @@
ALTER TABLE `toip_biz_node3dvo` ADD COLUMN `route_name` varchar(512) DEFAULT NULL COMMENT '线路的名称';
</sql>
</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>
\ No newline at end of file
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