摘要: 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 蛋挞小子 阅读(70) 评论(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 蛋挞小子 阅读(46) 评论(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 蛋挞小子 阅读(1537) 评论(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 蛋挞小子 阅读(1428) 评论(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 蛋挞小子 阅读(1043) 评论(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 蛋挞小子 阅读(190) 评论(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 蛋挞小子 阅读(485) 评论(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 蛋挞小子 阅读(3097) 评论(0) 推荐(1) 编辑
摘要: package com.ndsoft.single; import com.alibaba.fastjson.JSON; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util 阅读全文
posted @ 2021-03-04 17:19 蛋挞小子 阅读(2346) 评论(0) 推荐(1) 编辑
摘要: synchronized关键字修饰普通方法时,获得的锁是对象锁,也就是this。 synchronized关键字修饰静态方法时,锁是类锁,也就是类名.class。 注:synchronized修饰不加static的方法,锁是加在单个对象上,不同的对象没有竞争关系;修饰加了static的方法,锁是加载 阅读全文
posted @ 2021-02-04 17:35 蛋挞小子 阅读(831) 评论(0) 推荐(1) 编辑