常量类更新,针对是否有效,是否审核,以及业务字典分类,性质,标签的值,提取到类中
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
package com.nis.util;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
public final class Constants {
|
||||
|
||||
|
||||
public static final String DEFAULT_CAPTCHA_PARAM = "captcha";
|
||||
public static final String DEFAULT_MOBILE_PARAM = "mobileLogin";
|
||||
public static final String DEFAULT_MESSAGE_PARAM = "message";
|
||||
@@ -13,7 +12,47 @@ public final class Constants {
|
||||
* 词典数据key
|
||||
*/
|
||||
public static final String CACHE_DICT_MAP = "dictMap";
|
||||
|
||||
/**
|
||||
* 词典数据分类
|
||||
*/
|
||||
public static final int ITEM_TYPE_FL = 1;
|
||||
/**
|
||||
* 词典数据性质
|
||||
*/
|
||||
public static final int ITEM_TYPE_XZ = 2;
|
||||
/**
|
||||
* 词典数据标签
|
||||
*/
|
||||
public static final int ITEM_TYPE_LABEL = 3;
|
||||
/**
|
||||
* 配置有效标志,有效
|
||||
*/
|
||||
public static final int VALID_YES=1;
|
||||
/**
|
||||
* 配置有效标志,无效
|
||||
*/
|
||||
public static final int VALID_NO=0;
|
||||
/**
|
||||
* 配置有效标志,删除
|
||||
*/
|
||||
public static final int VALID_DEL=-1;
|
||||
/**
|
||||
* 配置审核,未审核
|
||||
*/
|
||||
public static final int AUDIT_NOT_YET=0;
|
||||
/**
|
||||
* 配置审核,审核通过
|
||||
*/
|
||||
public static final int AUDIT_YES=1;
|
||||
/**
|
||||
* 配置审核,审核未通过
|
||||
*/
|
||||
public static final int AUDIT_NO=2;
|
||||
/**
|
||||
* 配置审核,取消审核通过
|
||||
*/
|
||||
public static final int AUDIT_NOT_YES=3;
|
||||
|
||||
/**
|
||||
* 上传文件基础虚拟路径
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user