Commit 09929453 authored by KeYong's avatar KeYong

系统添加简介字段

parent 13bcd547
...@@ -148,6 +148,9 @@ public class FireFightingSystemEntity { ...@@ -148,6 +148,9 @@ public class FireFightingSystemEntity {
@ApiModelProperty("系统运行状态") @ApiModelProperty("系统运行状态")
private String systemRunState; private String systemRunState;
@ApiModelProperty("系统简介")
private String systemDescribe;
@TableField(exist = false) @TableField(exist = false)
private Integer isAlarm; private Integer isAlarm;
......
...@@ -932,6 +932,7 @@ public class FireFightingSystemController extends AbstractBaseController { ...@@ -932,6 +932,7 @@ public class FireFightingSystemController extends AbstractBaseController {
Map<String, Object> state = new HashMap<>(); Map<String, Object> state = new HashMap<>();
state.put("detail", fireSystem); state.put("detail", fireSystem);
state.put("pageType", "look"); state.put("pageType", "look");
state.put("sysDesc", fireFightingSystem.getSystemDescribe());
res.put("state", state); res.put("state", state);
return res; return res;
} }
......
...@@ -1066,4 +1066,16 @@ ...@@ -1066,4 +1066,16 @@
) ENGINE=InnoDB AUTO_INCREMENT=20240103 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='社会力量表'; ) ENGINE=InnoDB AUTO_INCREMENT=20240103 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='社会力量表';
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="keyong" id="1710319780">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="f_fire_fighting_system" columnName="system_describe"/>
</not>
</preConditions>
<comment>f_fire_fighting_system表新增属性字段system_describe</comment>
<sql>
alter table `f_fire_fighting_system` add column `system_describe` text DEFAULT NULL COMMENT '系统介绍';
</sql>
</changeSet>
</databaseChangeLog> </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