①修复新增,修改,列表展示配置时分类性质标签展示的问题
②列表展示时采用遍历分类性质标签的方法展示,减少数据库查询时的压力 ③取掉了一些不需要展示的列 ④新增Maat转换的bean ⑤采用gson的方式对在bean上做注解做转换,禁止了htmlescape
This commit is contained in:
@@ -2,6 +2,8 @@ package com.nis.util;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
||||
public final class Constants {
|
||||
|
||||
public static final String DEFAULT_CAPTCHA_PARAM = "captcha";
|
||||
@@ -222,5 +224,5 @@ public final class Constants {
|
||||
* 数据中心B版数据库名称,程序中每次查询时使用的数据库名称 use HIVEBDBNAME
|
||||
*/
|
||||
public static final String HIVEBDBNAME = Configurations.getStringProperty("jdbc.hive.BName", "xa_z2_mesalog_hive");
|
||||
|
||||
public static final GsonBuilder gsonbuilder=new GsonBuilder();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user