摘要: 在导出EXECL表格的时候报: java.lang.NoClassDefFoundError: org/apache/commons/io/output/UnsynchronizedByteArrayOutputStream 原因是:版本在5.1.0的时候导出EXECL会出错,报加载不到当前类 <d 阅读全文
posted @ 2021-11-04 16:10 蛋挞小子 阅读(21658) 评论(2) 推荐(8)
摘要: import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; /** * 根据序列号加密生产4*4的密码 */ public cla 阅读全文
posted @ 2021-10-29 16:22 蛋挞小子 阅读(213) 评论(0) 推荐(1)
摘要: import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; /** * 加密、解密 */ public class Encrypt 阅读全文
posted @ 2021-10-29 16:16 蛋挞小子 阅读(98) 评论(0) 推荐(0)
摘要: 正序: select t1.business_title,t1.create_at from t_business_info t1 order by convert(t1.business_title using gbk) asc 倒序 select t1.business_title,t1.cre 阅读全文
posted @ 2021-10-19 10:44 蛋挞小子 阅读(63) 评论(0) 推荐(0)
摘要: package com.ndsoft.single.web.message; import com.ndsoft.single.common.base.BaseController; import com.ndsoft.single.common.utils.DateUtil; import com 阅读全文
posted @ 2021-09-08 16:51 蛋挞小子 阅读(1752) 评论(0) 推荐(0)
摘要: 查看当前jar包进程 ps -ef | grep SmartradioAndvillageproject_server-0.0.1-SNAPSHOT.jar 杀死当前进程 kill -9 进程号 指定启动时的内存大小 nohup java -jar -server -Xms512m -Xmx1024 阅读全文
posted @ 2021-08-09 15:59 蛋挞小子 阅读(1636) 评论(0) 推荐(0)
摘要: import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; public class TestFilter { public stat 阅读全文
posted @ 2021-07-16 16:18 蛋挞小子 阅读(1100) 评论(0) 推荐(0)
摘要: apache commons工具类库 Maven依赖: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> </depe 阅读全文
posted @ 2021-06-23 09:56 蛋挞小子 阅读(210) 评论(0) 推荐(0)
摘要: 业务需求:电话号码相同的,根据时间取最新一条数据 select * from b_guest_info a where create_at = (select max(create_at) from b_guest_info b where a.mobile = b.mobile) order by 阅读全文
posted @ 2021-06-16 13:46 蛋挞小子 阅读(499) 评论(0) 推荐(0)
摘要: 实际开发中遇见v-html中绑定的点击事件无效 主要代码如下: vue中代码 /*@autor:dantaxiaozi @time:2021/4/28 @desc: 解决v-html中点击事件无效的方法*/ <template> <div id="announcementList"> <div cl 阅读全文
posted @ 2021-04-28 15:25 蛋挞小子 阅读(3443) 评论(0) 推荐(1)