mybatis中mysql的时间判断


			and a.created > str_to_date(#{start_time}, '%Y-%m-%d %H:%i:%s')
		
		
			and a.created  <= str_to_date(#{end_time}, '%Y-%m-%d %H:%i:%s')
		

 

你可能感兴趣的:(mybatis中mysql的时间判断)