Commit 979eebfa authored by 高建强's avatar 高建强

item:兼容数字化应急预案V1.0.0.2版本,WEB数据组装

parent cce12e04
......@@ -146,6 +146,9 @@ public class ContingencyAction implements CustomerAction {
@Value("${plan.default.roleCode}")
private String defaultRoleCode;
@Value("${plan.web.isUpdatePlanStep}")
private Boolean isUpdatePlanStep;
private static Map<String, String> OPERATE_RECORD_ID = new HashMap<>();
private static Map<String, Map<String, String>> stringStringMap = new HashMap<>();
......@@ -468,6 +471,7 @@ public class ContingencyAction implements CustomerAction {
result.add(tempmap1);
this.sendcmd("optionarea", paramObj, result);
if (!isUpdatePlanStep) {
try {
System.out.println("======optionarea 加入队列参数信息======action=====");
......@@ -482,6 +486,7 @@ public class ContingencyAction implements CustomerAction {
} catch (Exception e) {
log.error("optionarea 加入队列失败-->" + e.getMessage());
}
}
MessageVO messageVO = new MessageVO();
messageVO.setTitle("应急处置事项提醒");
......
#DB properties:
spring.datasource.url = jdbc:mysql://172.16.11.201:3306/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url = jdbc:mysql://172.16.11.201:3307/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=Yeejoin@2020
spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver
......@@ -91,7 +91,7 @@ rocket-plan-topic =topic_fire_emergency_plan
rocket-equip-alarm-topic =topic_fire_equip_alarm
#规则ip配置,用于多网卡及docker镜像启动时添加
#rule.definition.local-ip=172.16.11.201
rule.definition.local-ip=172.16.3.122
#3Dtype 分为web和ue
integrated3Dtype =web
......@@ -99,6 +99,9 @@ integrated3Dtype =web
#数据同步开关
systemctl.sync.switch=false
#数字化应急预案V1.0.0.2版本,WEB数据组装,值为true,默认false
plan.web.isUpdatePlanStep=false
#地图动作区域展示
maparea.action.is-area=action1-2,action1-6
......
......@@ -821,4 +821,37 @@
MODIFY COLUMN `update_date` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) AFTER `create_user`;
</sql>
</changeSet>
<changeSet author="gaojianqiang" id="20221216-01">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_org_usr" columnName="personImg"/>
</not>
</preConditions>
<comment>cb_org_usr add column personImg</comment>
<sql>
alter table `cb_org_usr` add column `personImg` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '人员照片';
</sql>
</changeSet>
<changeSet author="gaojianqiang" id="20221216-02">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_org_usr" columnName="job_title"/>
</not>
</preConditions>
<comment>cb_org_usr add column job_title</comment>
<sql>
alter table `cb_org_usr` add column job_title text CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '岗位名称';
</sql>
</changeSet>
<changeSet author="gaojianqiang" id="20221216-03">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="cb_org_usr" columnName="telephone"/>
</not>
</preConditions>
<comment>cb_org_usr add column telephone</comment>
<sql>
alter table `cb_org_usr` add column `telephone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL 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