Commit 502ee190c9625975f0a590862185928b5f9d836c
1 parent
b917d0597d
Exists in
master
and in
6 other branches
秦皇岛冠新公卫接口
Showing 2 changed files with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/Cdfy/CdGwInterface.java
View file @
502ee19
... | ... | @@ -4472,7 +4472,7 @@ |
4472 | 4472 | public BaseObjectResponse saveXsrFs(String startDate,String endDate){ |
4473 | 4473 | BaseObjectResponse br = null; |
4474 | 4474 | Criteria c = null; |
4475 | - c = Criteria.where("created").lt(DateUtil.parseYMDHMS(startDate)).lte(DateUtil.parseYMDHMS(endDate)); | |
4475 | + c = Criteria.where("created").gte(DateUtil.parseYMDHMS(startDate)).lte(DateUtil.parseYMDHMS(endDate)); | |
4476 | 4476 | List<NewbornVisit> visit = mongoTemplate.find(Query.query(c), NewbornVisit.class); |
4477 | 4477 | if(visit != null && visit.size() > 0){ |
4478 | 4478 | for(NewbornVisit newbornVisit : visit){ |
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/QhdJbgwInterface.java
View file @
502ee19
... | ... | @@ -894,7 +894,7 @@ |
894 | 894 | public List<Map<String,String>> getXsefs(String startDate,String endDate) { |
895 | 895 | List<Map<String, String>> mList = new ArrayList<Map<String, String>>(); |
896 | 896 | Criteria c = null; |
897 | - c = Criteria.where("created").lt(DateUtil.parseYMDHMS(startDate)).lte(DateUtil.parseYMDHMS(endDate)); | |
897 | + c = Criteria.where("created").gte(DateUtil.parseYMDHMS(startDate)).lte(DateUtil.parseYMDHMS(endDate)); | |
898 | 898 | List<NewbornVisit> visit = mongoTemplate.find(Query.query(c), NewbornVisit.class); |
899 | 899 | if(visit != null && visit.size() > 0){ |
900 | 900 | for(NewbornVisit newbornVisit : visit) { |