@RunWith(SpringRunner.class)这个注解作用是在test的时候建立spring上下文环境
当pom.xml中有
<dependencies>
<dependency>
<groupId>org.springframework.boot</group
2022年07月28日
@RunWith(SpringRunner.class)这个注解作用是在test的时候建立spring上下文环境
当pom.xml中有
<dependencies>
<dependency>
<groupId>org.springframework.boot</group
2022年07月27日
SELECT
*,'XXXXXXXX' as 'trainNo'
FROM
percartinfo
WHERE
dateAndTime LIKE CONCAT(<
2022年07月27日
Oracle中Sql语句LIKE语句的语法格式是:select * from 表名 where 字段名 like 对应值(子串)
例:查询name字段中含有“林”字的
select * from 表名 where name LIKE‘%林%’
但是,我此次like关键字后面的对应值是一个变量,需要用select语句来实现的,尝试了多种方法都未能实现该功能,后来用来CONCAT 关键字
2022年07月26日
熟悉 mybatis-plus 的人都知道,mybatis-plus 提供两种包含预定义增删改查操作的接口:
com.baomidou.mybatisplus.core.mapper.BaseMapper
com.baomidou.mybatisplus.extension.service.IService
Mybatis-plus提供了2个接口1个类:
BaseMapper 针对dao层的方法
2022年07月26日
作者:admin , 分类:未分类 , 浏览:334 , 评论:0
Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.