12 2019 档案

摘要:1 创建一个切面类 注意: saveLog 这个方法我加了获取request里的缓存seeion的用户信息,可根据自己业务调整 package com.another.aspect; import com.alibaba.fastjson.JSON; import com.another.aspec 阅读全文
posted @ 2019-12-18 14:21 夏风中的Young_Uncle 阅读(675) 评论(0) 推荐(0) 编辑
摘要:1 小表驱动大表 使用in的sql:select * from A where id in (select id from B) 等价于: for select id from B for select * from A where A.id = B.id 当B表的数据小于A表的数据集时,用in 使 阅读全文
posted @ 2019-12-10 17:07 夏风中的Young_Uncle 阅读(194) 评论(0) 推荐(0) 编辑
摘要:package com.grandcanal.ifcs.utils; import java.io.UnsupportedEncodingException; /** * 字符串换行工具类/每隔几位插入指定字符串 * @author kuangQingLin * @version 1.0 * @da 阅读全文
posted @ 2019-12-06 14:29 夏风中的Young_Uncle 阅读(964) 评论(0) 推荐(0) 编辑