今天再开发中遇到一个需求,需要查处某某年某月某日到某某年某月某日时间段的数据!
看到之前框架里有用到之间,今天果断用了一下!效果不错!
实现代码:
where 美元。=?start_time 结构;’”。美元create_time[0]。””,以及“”。美元create_time[1]。””,以及end_time 结构;’”。美元create_time[0]。””,以及“”。美元create_time [1]。”””;
今天再开发中遇到一个需求,需要查处某某年某月某日到某某年某月某日时间段的数据!
看到之前框架里有用到之间,今天果断用了一下!效果不错!
实现代码:
where 美元。=?start_time 结构;’”。美元create_time[0]。””,以及“”。美元create_time[1]。””,以及end_time 结构;’”。美元create_time[0]。””,以及“”。美元create_time [1]。”””;