- 博客(5)
- 收藏
- 关注
原创 httpclient4.5实现get、post请求
1. pom.xml<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.3.6.RELEASE</version></dependency><!--projectLombok Slf4j--><d
2021-05-24 11:30:34
457
原创 Mybatis的xml文件中的Oracle语法
1. 批量插入,Mybatis参数是listintinsertList(@Param("studentList") List<Student> students);<insert id="insertList" parameterType="java.util.List"> insert into tb_student (s_id, s_name, s_age, create_date) <foreach collection="studen.
2020-10-13 18:03:13
986
原创 Oracle常用基础语法
1. 表中增加字段alter table 表名 add (字段名 数据类型(长度) 非空约束);ALTER TABLE tb_student ADD ( s_name varchar2 ( 15 ) NULL );ALTER TABLE tb_teacher ADD ( t_id varchar2 ( 32 ) NOT NULL );2. 表中删除字段alter table 表名 drop column 字段名;ALTER TABLE tb_student DROP COLUMN
2020-09-01 15:35:28
234
原创 时间类
1. Date转ZonedDateTimeZonedDateTime.ofInstant(<Date>.toInstant(), ZoneId.systemDefault());2. ZoneDatedTime转DateDate.from(<ZonedDateTime>.toInstant());
2020-08-11 10:07:36
209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人