增加userRegion的分隔符,以及占位符参数,maat结构json参数初始化userRegion

This commit is contained in:
zhangwei
2018-06-22 15:16:08 +08:00
parent 875477650a
commit 6d8b8194ca
2 changed files with 8 additions and 3 deletions

View File

@@ -656,8 +656,9 @@ public class MaatCfg implements Serializable {
this.configPercent=100;
this.configOption=1;
this.startTime=new Date();
this.endTime=DateUtils.addYears(new Date(), 81);
this.endTime=DateUtils.addYears(this.startTime, 2099-Integer.parseInt(DateUtils.getYear()));
this.fatherCfgId=0;
//初始化用户定义域占位符,对用户定义域有特殊格式的业务,根据分隔符拆分占位符,在相应位置填写相应参数值
this.userRegion = Constants.USER_REGION_PLACEHOLDER;
}
}