06 2021 档案

json存数据库时自定义一些处理器,jsonHandler/jsonArrayHandler
摘要:一、普通对象转Json 1、继承BaseTypeHandler 覆盖setNonNullParameter(),getNullableResult(),getNullableResult(),getNullableResult()方法 public class ObjectJsonHandler<T 阅读全文

posted @ 2021-06-10 14:51 Iversonstear 阅读(454) 评论(0) 推荐(0) 编辑

注解
摘要:1、定义注解 /** * @author * @create 2020/7/22 11:30 */ @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented publ 阅读全文

posted @ 2021-06-10 14:20 Iversonstear 阅读(61) 评论(0) 推荐(0) 编辑

读取配置文件
摘要:1、application.properties test.name=111 test.names='111','bbb','ccca'test.nameSet='111','222' 2、配置类/* * @Author jijiecong * @Date 2021/6/4 17:13 * @Ver 阅读全文

posted @ 2021-06-10 13:43 Iversonstear 阅读(23) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示