配置新增字段cfg_region_code

This commit is contained in:
wangxin
2018-05-17 19:38:00 +08:00
parent 91ad42c562
commit b1e9328906
6 changed files with 19 additions and 35 deletions

View File

@@ -148,6 +148,17 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
protected Date search_edit_time_end;
protected Date search_audit_time_start;
protected Date search_audit_time_end;
/**
* 配置域码
*/
protected String cfgRegionCode;
/**
* 内容类型
*/
protected String cfgType;
/**
* 菜单ID
*/
protected Integer functionId;
/**

View File

@@ -34,24 +34,6 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
@SerializedName("keywords")
protected String cfgKeywords;
protected String cfgKeywordsShowName;
protected String cfgType;
/**
* cfgType
* @return cfgType
*/
public String getCfgType() {
return cfgType;
}
/**
* cfgKeywords
* @return cfgKeywords
*/
public String getCfgKeywords() {
return cfgKeywords;
}
/**
* @param cfgKeywords the cfgKeywords to set
*/

View File

@@ -58,22 +58,6 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
@Expose
@SerializedName("isHexbin")
protected Integer isHexbin ;
protected String cfgType;
/**
* cfgType
* @return cfgType
*/
public String getCfgType() {
return cfgType;
}
/**
* @param cfgType the cfgType to set
*/
public void setCfgType(String cfgType) {
this.cfgType = cfgType;
}
/**
* district
* @return district

View File

@@ -28,6 +28,7 @@
<result column="is_hexbin" property="isHexbin" jdbcType="INTEGER" />
<result column="area_effective_ids" property="areaEffectiveIds" jdbcType="VARCHAR" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="VARCHAR" />
</resultMap>
<resultMap id="ComplexStringMapWithUser" type="com.nis.domain.configuration.ComplexkeywordCfg" extends="ComplexStringMap">
<result column="creator_name" property="creatorName" jdbcType="VARCHAR" />

View File

@@ -34,6 +34,8 @@
<result column="lable" property="lable" jdbcType="VARCHAR" />
<result column="area_effective_ids" property="areaEffectiveIds" jdbcType="VARCHAR" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="VARCHAR" />
<result column="cfg_type" property="cfgType" jdbcType="VARCHAR" />
</resultMap>
<resultMap id="BaseIpMapWithUser" type="com.nis.domain.configuration.BaseIpCfg" >
<id column="cfg_id" property="cfgId" jdbcType="BIGINT" />
@@ -64,6 +66,8 @@
<result column="compile_id" property="compileId" jdbcType="INTEGER" />
<result column="is_area_effective" property="isAreaEffective" jdbcType="INTEGER" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="VARCHAR" />
<result column="cfg_type" property="cfgType" jdbcType="VARCHAR" />
<result column="classify" property="classify" jdbcType="VARCHAR" />
<result column="attribute" property="attribute" jdbcType="VARCHAR" />
<result column="lable" property="lable" jdbcType="VARCHAR" />

View File

@@ -26,7 +26,8 @@
<result column="expr_type" property="exprType" jdbcType="INTEGER" />
<result column="match_method" property="matchMethod" jdbcType="INTEGER" />
<result column="is_hexbin" property="isHexbin" jdbcType="INTEGER" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="VARCHAR" />
</resultMap>
<resultMap id="BaseStringMapWithUser" type="com.nis.domain.configuration.BaseStringCfg" >
<id column="cfg_id" property="cfgId" jdbcType="BIGINT" />
@@ -51,6 +52,7 @@
<result column="lable" property="lable" jdbcType="VARCHAR" />
<result column="area_effective_ids" property="areaEffectiveIds" jdbcType="VARCHAR" />
<result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="VARCHAR" />
<result column="expr_type" property="exprType" jdbcType="INTEGER" />
<result column="match_method" property="matchMethod" jdbcType="INTEGER" />
<result column="is_hexbin" property="isHexbin" jdbcType="INTEGER" />