Commit 49322ddf98f0750be82155cf0555ef0758603519
1 parent
147e262005
Exists in
master
and in
6 other branches
分娩作废产检劵
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java
View file @
49322dd
... | ... | @@ -539,7 +539,7 @@ |
539 | 539 | // "AND B.CITY_ID=" + |
540 | 540 | // "AND B.AREA_COUNTY_ID=" |
541 | 541 | if (StringUtils.isNotEmpty(babyStatisticsManagerBuildSourceListRequest.getBuildDate())) { |
542 | - sql += " AND A.INSERT_DATE BETWEEN" + buildDateStart + "AND" + buildDateEnd; | |
542 | + sql += " AND A.INSERT_DATE BETWEEN TO_DATE('" + buildDateStart + "','YYYY-MM-DD') AND TO_DATE('" + buildDateEnd+"','YYYY-MM-DD')"; | |
543 | 543 | } |
544 | 544 | sql += " GROUP BY" + |
545 | 545 | "B.PROVINCE_ID," + |