摘要: publc class ExcelTest{ public void test1(){ //指定输出内容 File file = new File("E:/20220402/test1.xlsx"); FileOutputStream out = new FileOutputStream(file) 阅读全文
posted @ 2022-04-02 12:11 卡拉迦迪斯 阅读(713) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/devcloud/article/details/100119386 按这个方法发现解决不了问题…… 1. mapping-converter bean生成的时候 就已经在 spring里注册了 MongoPersistentEntityIndexCrea 阅读全文
posted @ 2019-09-19 19:16 卡拉迦迪斯 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 如果要实时生成带时间标记的log文件,而不是第二天才能生成,那么只要去掉<file>标签 就可以了 阅读全文
posted @ 2019-08-07 16:28 卡拉迦迪斯 阅读(2122) 评论(0) 推荐(0) 编辑
摘要: private void writeFile(String content){ BufferedOutputStream out = null; try { out = new BufferedOutputStream(new FileOutputStream("D:\\java\\log\\1.log",true)); } cat... 阅读全文
posted @ 2019-07-09 10:47 卡拉迦迪斯 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 这个问题其实一直比较困扰我。 因为在业务逻辑中经常会使用当前登录用户的一些信息,比如user_id等 而如果使用shiro做登录、权限验证……那么获取用户信息就需要 String username = SecurityUtils.getSubject().getPrincipal(); ……这简直就 阅读全文
posted @ 2019-06-19 11:27 卡拉迦迪斯 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: 自己的锅,没仔细看文档…… The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. 阅读全文
posted @ 2018-03-06 15:54 卡拉迦迪斯 阅读(540) 评论(0) 推荐(0) 编辑
摘要: REACT的第一次尝试,制作了一个导航条,绑定单击事件,通过参数switch分发 阅读全文
posted @ 2016-05-31 17:09 卡拉迦迪斯 阅读(268) 评论(0) 推荐(0) 编辑