随笔分类 -  JAVA

摘要:after(Date when): 判断当前日期是否在指定日期之后。 before(Date when): 判断当前日期是否在指定日期之前。 equals(Object obj): 判断两个日期是否相等。 //发生时间区间校验 if(StrUtil.isNotEmpty(legalserviceDi 阅读全文
posted @ 2025-05-19 16:23 寒冷的雨呢 阅读(125) 评论(0) 推荐(0)
摘要:https://blog.51cto.com/u_16175434/6948376 阅读全文
posted @ 2025-04-22 09:58 寒冷的雨呢 阅读(61) 评论(0) 推荐(0)
摘要:https://cloud.tencent.com/developer/article/2430615 阅读全文
posted @ 2025-03-11 23:03 寒冷的雨呢 阅读(29) 评论(0) 推荐(0)
摘要:/** 判断是否为数字 * **/ Boolean paramIsNumber(String str){ boolean bResult = false; if(str !=null && !"".equals(str.trim())){ Pattern pattern = Pattern.comp 阅读全文
posted @ 2025-02-20 13:42 寒冷的雨呢 阅读(10) 评论(0) 推荐(0)
摘要:BigDecimal fz = new BigDecimal(mCZ.get("ybj").toString()); BigDecimal fm = new BigDecimal(mCZ.get("zs").toString()); BigDecimal bfs = new BigDecimal(1 阅读全文
posted @ 2024-11-26 16:46 寒冷的雨呢 阅读(28) 评论(0) 推荐(0)
摘要:https://baijiahao.baidu.com/s?id=1780604372497522288&wfr=spider&for=pc 阅读全文
posted @ 2024-10-25 14:32 寒冷的雨呢 阅读(10) 评论(0) 推荐(0)
摘要:https://blog.51cto.com/u_16213425/11195266 https://blog.csdn.net/weixin_45433031/article/details/128700907 阅读全文
posted @ 2024-10-22 13:17 寒冷的雨呢 阅读(10) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_44848760/article/details/108887289 阅读全文
posted @ 2024-09-23 16:46 寒冷的雨呢 阅读(14) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/Fly_as_tadpole/article/details/87566011 https://blog.csdn.net/u012899618/article/details/128777225 阅读全文
posted @ 2024-07-17 14:25 寒冷的雨呢 阅读(13) 评论(0) 推荐(0)
摘要:/** * 上报信息 */ @Schema(description="上报信息") @TableField(typeHandler = JacksonTypeHandler.class) private Object infos; Map infos = (Map) financialEntity. 阅读全文
posted @ 2024-05-28 14:59 寒冷的雨呢 阅读(16) 评论(0) 推荐(0)
摘要:https://www.runoob.com/java/java-hashset.html 阅读全文
posted @ 2024-05-15 14:58 寒冷的雨呢 阅读(18) 评论(0) 推荐(0)
摘要:public boolean relation(Long projectId, List<BsMemberEntity> members) { //1)、获取原关联数据 List<ProProjectAuthorEntity> oldList = this.findByProjectId(proje 阅读全文
posted @ 2024-03-21 09:47 寒冷的雨呢 阅读(63) 评论(0) 推荐(0)
摘要:import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static void main(String[] args) 阅读全文
posted @ 2024-03-08 14:13 寒冷的雨呢 阅读(159) 评论(0) 推荐(0)
摘要:String reg = "(?:')|(?:--)|(/\\*(?:.|[\\n\\r])*?\\*/)|(\\b(select|if|update|and|or|delete|insert|trancate|char|into|substr|ascii|declare|exec|count|ma 阅读全文
posted @ 2023-12-05 15:27 寒冷的雨呢 阅读(16) 评论(0) 推荐(0)
摘要:``` dataList = dataList.stream().collect(Collectors.collectingAndThen( Collectors.toCollection(() -> new TreeSet(Comparator.comparing(p -> (String) p. 阅读全文
posted @ 2023-08-15 10:41 寒冷的雨呢 阅读(175) 评论(0) 推荐(0)
摘要:``` import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; @RestController @RequiredArgsConstructor @RequestMapping( 阅读全文
posted @ 2023-07-27 13:40 寒冷的雨呢 阅读(55) 评论(0) 推荐(0)
摘要:``` /** 百分比 参1/参2 **/ String getPercent(String s1,String s2){ String sResult = ""; if(StrUtil.isBlank(s2) || s2.equals("0") || Integer.valueOf(s2) == 阅读全文
posted @ 2023-07-20 08:46 寒冷的雨呢 阅读(82) 评论(0) 推荐(0)
摘要:CREATE TABLE `house_structure` ( `id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '房源结构id', `house_name` varchar(50) 阅读全文
posted @ 2023-05-18 15:26 寒冷的雨呢 阅读(32) 评论(0) 推荐(0)
摘要:1.主类下加标签 @EnableScheduling 2.controller建立平级 3. @Slf4j @RequiredArgsConstructor @Component public class MeetingMarkJob { final CppccMailService cppccMa 阅读全文
posted @ 2023-03-28 10:55 寒冷的雨呢 阅读(32) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/wagnteng/article/details/127670831 阅读全文
posted @ 2023-03-13 13:27 寒冷的雨呢 阅读(134) 评论(0) 推荐(0)