Constants部分常量添加final修饰

This commit is contained in:
RuoYi
2019-04-12 19:10:52 +08:00
parent 5d84c7fcb0
commit 2ad741c4e8
3 changed files with 6 additions and 7 deletions

View File

@ -40,25 +40,25 @@ public class Constants
/**
* 自动去除表前缀
*/
public static String AUTO_REOMVE_PRE = "true";
public static final String AUTO_REOMVE_PRE = "true";
/**
* 当前记录起始索引
*/
public static String PAGE_NUM = "pageNum";
public static final String PAGE_NUM = "pageNum";
/**
* 每页显示记录数
*/
public static String PAGE_SIZE = "pageSize";
public static final String PAGE_SIZE = "pageSize";
/**
* 排序列
*/
public static String ORDER_BY_COLUMN = "orderByColumn";
public static final String ORDER_BY_COLUMN = "orderByColumn";
/**
* 排序的方向 "desc" 或者 "asc".
*/
public static String IS_ASC = "isAsc";
public static final String IS_ASC = "isAsc";
}