摘要: /** 只含有数字和字母 */ public static final String ONLY_LETTER_DIGIT_REGEX = "^[a-zA-Z0-9]+$"; /** 只含有数字,字母,下划线和汉字 */ public static final String ONLY_LETTER_D 阅读全文
posted @ 2020-11-24 16:26 怀梦_lqb 阅读(119) 评论(0) 推荐(0) 编辑
摘要: public static Boolean hasObjectByMap(Map<String, Object> params, String key) { // 如果key为空,或者params为空,则直接返回false if (isEmptyString(key) || params == nu 阅读全文
posted @ 2020-11-24 16:17 怀梦_lqb 阅读(889) 评论(0) 推荐(0) 编辑
摘要: public static boolean isEmptyString(String strValue) { boolean bIsEmpty = false; if (null == strValue || strValue.trim().equals("") || strValue.trim() 阅读全文
posted @ 2020-11-24 16:16 怀梦_lqb 阅读(274) 评论(0) 推荐(0) 编辑