<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[老年人写代码的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_43618209</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_43618209]]></copyright><item><title><![CDATA[ChangeMoneyUtil]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/147977728</link><guid>https://blog.csdn.net/weixin_43618209/article/details/147977728</guid><author>weixin_43618209</author><pubDate>Thu, 15 May 2025 10:56:23 +0800</pubDate><description><![CDATA[ChangeMoneyUtil 是一个用于处理货币单位转换的工具类，主要实现分与元之间的转换。它提供了多种方法，支持将分转换为元（支持Integer、Long、String和BigDecimal类型），以及将元转换为分（支持double、Integer和String类型）。此外，工具类还包含对double数据进行精度处理的方法，以及将double转换为int的功能。所有转换操作均使用BigDecimal以确保精度，并支持自定义小数位数和舍入模式。]]></description><category></category></item><item><title><![CDATA[ZipUtils之zip处理工具类]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/147977676</link><guid>https://blog.csdn.net/weixin_43618209/article/details/147977676</guid><author>weixin_43618209</author><pubDate>Thu, 15 May 2025 10:55:06 +0800</pubDate><description><![CDATA[已深度思考（用时4秒）



该ZipUtils工具类提供了多种ZIP压缩方法：支持将整个目录递归压缩（可选保留目录结构），支持文件列表直接打包，并能通过HTTP响应流输出压缩包。包含处理URL资源下载压缩、文件名编码、空文件夹保留、流资源关闭等细节，适用于文件批量下载、目录打包等场景。方法通过ZipOutputStream实现数据写入，采用缓冲区提升性能，同时处理了特殊字符编码问题确保压缩包兼容]]></description><category></category></item><item><title><![CDATA[ShortCodeUtil之短码工具类]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/147977613</link><guid>https://blog.csdn.net/weixin_43618209/article/details/147977613</guid><author>weixin_43618209</author><pubDate>Thu, 15 May 2025 10:52:41 +0800</pubDate><description><![CDATA[ShortCodeUtil 类提供了生成短码的功能，主要用于生成订单号。通过 getOrderCode 方法，用户可以指定订单号和生成码的长度（默认长度为8），该方法会调用 shortUrl 方法生成4组8位字符串，并随机返回其中一组。shortUrl 方法通过MD5加密和位运算，将传入的URL和自定义的密钥转换为短码。MD5加密部分由 md5ByHex 方法实现，生成32位大写的MD5字符串。整个过程确保了生成的短码具有唯一性和随机性。]]></description><category></category></item><item><title><![CDATA[GpsUtil]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/147977571</link><guid>https://blog.csdn.net/weixin_43618209/article/details/147977571</guid><author>weixin_43618209</author><pubDate>Thu, 15 May 2025 10:50:56 +0800</pubDate><description><![CDATA[GpsUtil 类提供了一个用于计算地球上两点之间距离的方法 GetDistance，结果以米为单位。该方法基于地球的半径（6378137.0米）和哈弗辛公式（Haversine formula）进行计算。首先，将经纬度从度数转换为弧度，然后通过公式计算两点之间的弧长，最后乘以地球半径得到实际距离。该方法适用于计算任意两点之间的地理距离，且精度较高。]]></description><category></category></item><item><title><![CDATA[FileUtil之Utils文件转化]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/147977510</link><guid>https://blog.csdn.net/weixin_43618209/article/details/147977510</guid><author>weixin_43618209</author><pubDate>Thu, 15 May 2025 10:49:46 +0800</pubDate><description><![CDATA[FileUtil 是一个实现了 MultipartFile 接口的类，用于处理文件上传操作。它通过构造函数接收文件名、原始文件名、内容类型和文件内容（字节数组或输入流），并提供了获取文件名、原始文件名、内容类型、文件大小、字节数组、输入流等方法。此外，FileUtil 还支持将文件内容写入目标文件。该类的主要功能是封装文件数据，并提供便捷的访问和操作接口，适用于文件上传和处理场景。]]></description><category></category></item><item><title><![CDATA[EXCEL里多sheet页指定生成 饼状图、柱状图，折线图 或插入数据--JAVA]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/135765702</link><guid>https://blog.csdn.net/weixin_43618209/article/details/135765702</guid><author>weixin_43618209</author><pubDate>Tue, 23 Jan 2024 10:49:07 +0800</pubDate><description><![CDATA[EXCEL里多sheet页指定生成 饼状图、柱状图，折线图 或插入数据--JAVA]]></description><category></category></item><item><title><![CDATA[ES查询百万数据，分批写入CSV]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/132870827</link><guid>https://blog.csdn.net/weixin_43618209/article/details/132870827</guid><author>weixin_43618209</author><pubDate>Thu, 14 Sep 2023 10:28:51 +0800</pubDate><description><![CDATA[bom头信息要在把文件写到服务器中之前添加；要不用微软的excel 打开 含汉字会乱码；]]></description><category></category></item><item><title><![CDATA[ES原生语法查询]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131763256</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131763256</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 11:52:25 +0800</pubDate><description><![CDATA[【代码】ES原生语法查询。]]></description><category></category></item><item><title><![CDATA[redis 设置]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131763225</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131763225</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 11:51:07 +0800</pubDate><description><![CDATA[【代码】redis 设置。]]></description><category></category></item><item><title><![CDATA[redis设置]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131763077</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131763077</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 11:44:01 +0800</pubDate><description><![CDATA[【代码】redis设置。]]></description><category></category></item><item><title><![CDATA[开发模板--完整版-（基础Controller，公共响应）]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131761939</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131761939</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 11:20:47 +0800</pubDate><description><![CDATA[开发模板--基础controller,公共BaseResult]]></description><category></category></item><item><title><![CDATA[定时任务 xxl-job]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131760657</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131760657</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 10:38:20 +0800</pubDate><description><![CDATA[定时任务 xxl-job  完整版  ]]></description><category></category></item><item><title><![CDATA[[001简码]秒杀]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131759940</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131759940</guid><author>weixin_43618209</author><pubDate>Mon, 17 Jul 2023 09:54:29 +0800</pubDate><description><![CDATA[[001简码]秒杀]]></description><category></category></item><item><title><![CDATA[使用内部Feign，出现[com.mydao.tourist.base.BaseResult＜java.util.List＜com.mydao.tourist.fegin.dto.ESGroupSql]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131674671</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131674671</guid><author>weixin_43618209</author><pubDate>Wed, 12 Jul 2023 09:53:24 +0800</pubDate><description><![CDATA[nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException;
Cannot deserialize instance of `java.util.ArrayList out of VALUE_STRING token]]></description><category></category></item><item><title><![CDATA[ES-DSL 或 es-jdbc 语法查询]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131422467</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131422467</guid><author>weixin_43618209</author><pubDate>Tue, 27 Jun 2023 18:13:10 +0800</pubDate><description><![CDATA[ES-DSL 或 es-jdbc 语法查询]]></description><category></category></item><item><title><![CDATA[ES映射操作 已创建的ES索引 增加映射字段（类似DB库增加给表增加字段）一样]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131422288</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131422288</guid><author>weixin_43618209</author><pubDate>Tue, 27 Jun 2023 17:43:13 +0800</pubDate><description><![CDATA[ES已存在的索引下添加映射。]]></description><category></category></item><item><title><![CDATA[【bug】ES新增映射type=date后出现的,需要序列化处理]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/131281791</link><guid>https://blog.csdn.net/weixin_43618209/article/details/131281791</guid><author>weixin_43618209</author><pubDate>Mon, 19 Jun 2023 10:13:20 +0800</pubDate><description><![CDATA[failed to parse field [showTime] of type [date] in document with id '11111'. Preview of field's value: '{dayOfWeek=WEDNESDAY, month=JUNE, hour=13, dayOfMonth=14, dayOfYear=165, year=2023, monthValue=6, nano=0, chronology={calendarType=iso8601, id=ISO}, min]]></description><category></category></item><item><title><![CDATA[导出excel]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/128969989</link><guid>https://blog.csdn.net/weixin_43618209/article/details/128969989</guid><author>weixin_43618209</author><pubDate>Fri, 10 Feb 2023 15:04:25 +0800</pubDate><description><![CDATA[【代码】导出excel。]]></description><category></category></item><item><title><![CDATA[自定义redis 生码器]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/128966568</link><guid>https://blog.csdn.net/weixin_43618209/article/details/128966568</guid><author>weixin_43618209</author><pubDate>Fri, 10 Feb 2023 11:09:26 +0800</pubDate><description><![CDATA[【代码】自定义redis 生码器。]]></description><category></category></item><item><title><![CDATA[生码；下载二维码；服务器上压缩二维码；下载压缩；]]></title><link>https://blog.csdn.net/weixin_43618209/article/details/128966096</link><guid>https://blog.csdn.net/weixin_43618209/article/details/128966096</guid><author>weixin_43618209</author><pubDate>Fri, 10 Feb 2023 11:04:46 +0800</pubDate><description><![CDATA[【代码】下载二维码。下载压缩包。【下载图片】【服务器上压缩图片】【zip】【下载jpg】]]></description><category></category></item></channel></rss>