【实际项目】根据时间范围查询优化

根据所传条件在SQL中添加时间范围:java sql.append("and (stationDateB) >= (\'" + detailreportpojo.getStartdate() + "\') and (stationDateE) <= (\'" + detailreportpojo.getEnddate() + "\') "); 须要两个时间字段都要有索引才
相关文章
相关标签/搜索