07 2020 档案

摘要:import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import java.util.ArrayList; import ja 阅读全文
posted @ 2020-07-24 18:07 蛋挞小子 阅读(453) 评论(0) 推荐(0)
摘要:一、@Autowired注解是按类型装配依赖对象,默认情况下它要求依赖对象必须存在,如果允许null值,可以设置它required属性为false。 1、@Autowired是Spring自带的注解,通过AutowiredAnnotationBeanPostProcessor 类实现的依赖注入 2、 阅读全文
posted @ 2020-07-22 11:02 蛋挞小子 阅读(250) 评论(0) 推荐(0)
摘要:转自:https://blog.csdn.net/axiaoboge/article/details/84335452 作者:JYRoy 出处:https://www.cnblogs.com/jyroy/p/11365935.html Java提供了种类丰富的锁,每种锁因其特性的不同,在适当的场景下 阅读全文
posted @ 2020-07-16 15:45 蛋挞小子 阅读(159) 评论(0) 推荐(0)
摘要:一、创建表后,自行录入数据。 -- 创建表order_info DROP TABLE IF EXISTS `order_info`; CREATE TABLE `order_info` ( `orderInfoId` bigint(20) NOT NULL AUTO_INCREMENT, `exte 阅读全文
posted @ 2020-07-14 17:16 蛋挞小子 阅读(208) 评论(0) 推荐(0)
摘要:import java.util.Date; public class TimeTest { public static void main(String[] args) { intervalTimeOutput(5); } /** * 间隔多长时间跑一次 * * @param intervalTi 阅读全文
posted @ 2020-07-08 15:57 蛋挞小子 阅读(687) 评论(0) 推荐(0)
摘要:转载: https://blog.csdn.net/yhl_jxy/article/details/72633034 Linux操作系统我们经常使用ssh中的ftp,sftp连接服务器,做相应操作。 1、基于maven构建工程,pom.xml加入依赖。 <dependency> <groupId>c 阅读全文
posted @ 2020-07-07 15:49 蛋挞小子 阅读(10670) 评论(1) 推荐(2)
摘要:1、pom.xml中添加 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.2.3</version> </dependency> <dependency> <groupI 阅读全文
posted @ 2020-07-03 14:58 蛋挞小子 阅读(2065) 评论(0) 推荐(0)
摘要:1、pom.xml文件引入 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.2.3</version> </dependency> <dependency> <group 阅读全文
posted @ 2020-07-02 11:32 蛋挞小子 阅读(2055) 评论(0) 推荐(0)