摘要:
31-Jan-2024 14:01:13.812 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 31-Jan-2024 14:01:13.818 严重 [main] org.apache.ca 阅读全文
摘要:
List<Map<String,Object>> list = new ArrayList<>(); Map<String,Object> map1 = new HashMap<>(); map1.put("code","01"); map1.put("name","小张"); map1.put(" 阅读全文
摘要:
-- 服务器时区值“Öйú±ê׼ʱ¼ä”无法识别或表示多个时区。 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. --查看数据库时区 show va 阅读全文
摘要:
//字符串转json数组 String str = "[{\"code\":\"0001\",\"name\":\"050\"},{\"code\":\"0002\",\"name\":\"185\"}]"; JSONArray deptArray = JSONArray.parseArray(st 阅读全文
摘要:
-- 字段设置默认值 alter table t_ward add default 0 for valid; 阅读全文
摘要:
-- sql server分组排序取出每组顺序第一条 select * from ( select *,row_number() over(partition by bloodbag_id order by operation_date desc) rn from tt_blood_log )t w 阅读全文
摘要:
-- 分组排序取出每组顺序第一条 select substring_index(group_concat(id order by create_time desc),',',1) from tb_order group by user_id 阅读全文
摘要:
1、依赖sun.misc.BASE64Decoder.jar /** * Base64编码 * @param data 要加密的字符数组 * @return String 加密后的16进制字符串 */ public static String encode(byte[] data){ return 阅读全文
摘要:
/** * request中参数转换成map */ public static Map<String, String> requestParamsToMap(HttpServletRequest request) { Map<String, String> reqMap = new HashMap< 阅读全文
摘要:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <!--打包时将lib里面 阅读全文