![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Darker_ren
这个作者很懒,什么都没留下…
展开
-
为什么建议使用你 LocalDateTime ,而不是 Date?
为什么建议使用你 LocalDateTime ,而不是 Date?转载链接: link.原创 2020-10-26 16:27:19 · 116 阅读 · 0 评论 -
Mybatis批量修改报错解决方案
Mybatis批量修改sql <update id="update" parameterType="java.util.List"> <foreach collection="osLs" item="item" index="index" open="" close="" separator=";"> update wms_owner_stock_total set update_id=#{item.updateId}原创 2021-10-21 11:19:34 · 519 阅读 · 0 评论 -
RedisTemplate使用
RedisTemplate使用提示:redis的各种类型以及使用手册网址:https://www.redis.net.cn/order///redisTemplate.opsForValue().set("stringValue","bbb"); ValueOperations<String, String> operations = redisTemplate.opsForValue(); // 1、set(K key, V value) 新增一个字符串类原创 2021-09-17 13:40:26 · 185 阅读 · 0 评论 -
Spring常用注解
@Null 被注释的元素必须为null@NotNull 被注释的元素不能为null@AssertTrue 被注释的元素必须为true@AssertFalse 被注释的元素必须为false@Min(value) 被注释的元素必须是一个数字,其值必须大于等于指定的最小值@Max(value) 被注释的元素必须是一个数字,其值必须小于等于指定的最大值@DecimalMin(value) 被注释的元素必须是一个数字,其值必须大于等于指定的最小值@DecimalMax(value) 被注原创 2021-01-21 09:33:31 · 154 阅读 · 1 评论 -
Spring事务的传播方式
转载: 原文地址原创 2020-12-11 10:51:57 · 67 阅读 · 0 评论