①修复新增,修改,列表展示配置时分类性质标签展示的问题

②列表展示时采用遍历分类性质标签的方法展示,减少数据库查询时的压力
③取掉了一些不需要展示的列
④新增Maat转换的bean
⑤采用gson的方式对在bean上做注解做转换,禁止了htmlescape
This commit is contained in:
wangxin
2018-03-05 16:30:16 +08:00
parent 363544a443
commit 848087dbef
33 changed files with 797 additions and 218 deletions

View File

@@ -8,6 +8,9 @@
*/
package com.nis.domain.configuration;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* @ClassName: NumBoundaryConfig.java
* @Description: TODO
@@ -27,23 +30,15 @@ public class NumBoundaryCfg extends BaseCfg<NumBoundaryCfg> {
/**
* 数值下界
*/
@Expose
@SerializedName("lowBounadry")
protected Long lowBounadry;
/**
* 数值上界
*/
@Expose
@SerializedName("upBoundary")
protected Long upBoundary;
/**
* 数值上界
*/
protected Integer exprType ;
/**
* 数值上界
*/
protected Integer matchMethod ;
/**
* 数值上界
*/
protected Integer isHexbin ;
protected Long compileId;
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
@@ -52,9 +47,6 @@ public class NumBoundaryCfg extends BaseCfg<NumBoundaryCfg> {
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.exprType = 3;
this.matchMethod = 0;
this.isHexbin = 0;
}
/**
* lowBounadry
@@ -84,48 +76,6 @@ public class NumBoundaryCfg extends BaseCfg<NumBoundaryCfg> {
public void setUpBoundary(Long upBoundary) {
this.upBoundary = upBoundary;
}
/**
* exprType
* @return exprType
*/
public Integer getExprType() {
return exprType;
}
/**
* @param exprType the exprType to set
*/
public void setExprType(Integer exprType) {
this.exprType = exprType;
}
/**
* matchMethod
* @return matchMethod
*/
public Integer getMatchMethod() {
return matchMethod;
}
/**
* @param matchMethod the matchMethod to set
*/
public void setMatchMethod(Integer matchMethod) {
this.matchMethod = matchMethod;
}
/**
* isHexbin
* @return isHexbin
*/
public Integer getIsHexbin() {
return isHexbin;
}
/**
* @param isHexbin the isHexbin to set
*/
public void setIsHexbin(Integer isHexbin) {
this.isHexbin = isHexbin;
}
/**
* compileId
* @return compileId