9月20日 微服务架构 周四

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/helloworld_1996/article/details/82794670

新知识

问:ORACLE数据库添加日期代码
insert into t_car0920 values(seq_t_car0920.nextval,#{cname},#{cprice},to_date(#{cdate},'yyyy-mm-dd'))
问:分页加模糊
select * from (select rownum rn,m.* from (select * from t_student0919 ) m where stuname like concat(concat('%',#{mohu}),'%'))
		 where rn >#{pageUtil.startIndex} and rn <=#{pageUtil.endIndex}

人间有味是清欢

《浣溪沙·细雨斜风作晓寒》

猜你喜欢

转载自blog.csdn.net/helloworld_1996/article/details/82794670
今日推荐