上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页
摘要: 转载:https://www.cnblogs.com/buluzombie/p/14531629.html 阅读全文
posted @ 2023-02-06 10:10 Chenyi_li 阅读(15) 评论(0) 推荐(0)
摘要: package com.mszlu.blog.common.cache; import java.lang.annotation.*; @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented publ 阅读全文
posted @ 2023-02-02 22:41 Chenyi_li 阅读(50) 评论(0) 推荐(0)
摘要: ##这是因为错误数据的原因,所以加上了group by 去去除重复的值 SELECT COUNT(p2.report_id) FROM ( SELECT p.report_id FROM ( SELECT pr.report_id FROM project_report pr where proj_ 阅读全文
posted @ 2023-02-02 11:41 Chenyi_li 阅读(23) 评论(0) 推荐(0)
摘要: 转载:https://blog.csdn.net/Gc_680/article/details/122568085 阅读全文
posted @ 2023-01-31 14:43 Chenyi_li 阅读(20) 评论(0) 推荐(0)
摘要: @SpringBootTest @Transactional // springboot test中加事务注解,默认事务操作回滚,但是id会被占用 @Rollback(true) // 是否回滚,默认true是回滚,false不回滚,成功操作数据库 阅读全文
posted @ 2023-01-30 14:50 Chenyi_li 阅读(76) 评论(0) 推荐(0)
摘要: 转载:https://www.cnblogs.com/wangyingli/p/5912269.html 阅读全文
posted @ 2023-01-30 14:27 Chenyi_li 阅读(44) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/ldq2016/p/6834643.html https://www.cnblogs.com/cuglkb/p/8463039.html 工具类: public class ObjectUtils { static public final Bo 阅读全文
posted @ 2023-01-29 18:56 Chenyi_li 阅读(84) 评论(0) 推荐(0)
摘要: ##1.stream抽取list对象集合中的某一个属性 ``` list.stream().map(Object::getProperties).collect(Collectors.toList()); ``` 好资料以及文档:https://www.bilibili.com/video/BV1D 阅读全文
posted @ 2023-01-29 18:56 Chenyi_li 阅读(47) 评论(0) 推荐(0)
摘要: 转载:https://juejin.cn/post/7168638701784793124#comment 获得插入后获得主键:https://juejin.cn/post/7121713604667113485 阅读全文
posted @ 2023-01-12 19:12 Chenyi_li 阅读(30) 评论(0) 推荐(0)
摘要: 参考:https://www.bilibili.com/video/BV1r3411F7kn/?from=search&seid=14991498608693523524&spm_id_from=333.337.0.0&vd_source=46d50b5d646b50dcb2a208d3946b15 阅读全文
posted @ 2022-12-14 21:28 Chenyi_li 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页