mirror of
https://gitee.com/freshday/radar.git
synced 2024-12-04 12:57:46 +08:00
feats: preitem 预处理增加配置信息字段。
Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
parent
f285c4ce7a
commit
61f90263b1
@ -79,7 +79,7 @@
|
||||
<dependency>
|
||||
<groupId>com.pgmmers</groupId>
|
||||
<artifactId>radar-commons</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
@ -49,6 +49,9 @@ public class PreItemPO {
|
||||
@Column(name = "PLUGIN")
|
||||
private String plugin;
|
||||
|
||||
@Column(name = "CONFIG_JSON")
|
||||
private String configJson;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
private Integer status;
|
||||
|
||||
@ -194,6 +197,20 @@ public class PreItemPO {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return CONFIG_JSON
|
||||
*/
|
||||
public String getConfigJson() {
|
||||
return configJson;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param configJson
|
||||
*/
|
||||
public void setConfigJson(String configJson) {
|
||||
this.configJson = configJson;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return STATUS
|
||||
*/
|
||||
|
@ -13,6 +13,7 @@
|
||||
<result column="LABEL" jdbcType="VARCHAR" property="label" />
|
||||
<result column="ARGS" jdbcType="VARCHAR" property="args" />
|
||||
<result column="PLUGIN" jdbcType="VARCHAR" property="plugin" />
|
||||
<result column="CONFIG_JSON" jdbcType="VARCHAR" property="configJson" />
|
||||
<result column="STATUS" jdbcType="INTEGER" property="status" />
|
||||
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
|
@ -1,10 +0,0 @@
|
||||
-- developers of radar
|
||||
CREATE TABLE `contribute_info` (
|
||||
`ID` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`NAME` varchar(30) NOT NULL COMMENT '功能名称',
|
||||
`CONTENT` varchar(200) NOT NULL COMMENT '功能描叙',
|
||||
`DEVELOPER` varchar(60) NOT NULL COMMENT '开发者',
|
||||
`RELEASE_VERSION` varchar(30) DEFAULT NULL COMMENT '发布版本',
|
||||
`CREATE_TIME` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
2
sql/radar-1.0.2.sql
Normal file
2
sql/radar-1.0.2.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE `engine_pre_item`
|
||||
ADD COLUMN `CONFIG_JSON` varchar(150) NULL AFTER `PLUGIN`;
|
Loading…
Reference in New Issue
Block a user