设为首页 加入收藏

TOP

mybatis查询mysql的时间段
2015-02-03 03:52:13 】 浏览:2649
Tags:mybatis 查询 mysql 时间段

mapper文件的写法为:(模糊查询,查询时间段)

                
			and sc.com_name like CONCAT(CONCAT('%',#{com_name}),'%')
		
		
		=  DATE_FORMAT(#{check_begin_date}, '%Y-%m-%d')
		]]>
		
		
		
		
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Cannotupdateidentitycolumn'.. 下一篇无语的indexhint:手工分配哈希区..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目