Commit 9225a061c4103cc0449ea976ec241f246fcd1282
1 parent
7adadbea51
Exists in
master
and in
6 other branches
数据抽取程序
Showing 2 changed files with 2 additions and 3 deletions
regional-etl/src/main/java/com/lyms/etl/service/impl/CouponServiceImpl.java
View file @
9225a06
| ... | ... | @@ -70,7 +70,7 @@ |
| 70 | 70 | List<CouponInfo> couponInfos = new ArrayList<>(); |
| 71 | 71 | Set<String> hospitalIds = new HashSet<>(); |
| 72 | 72 | // List<PatientCheckTicket> patientCheckTickets = patientCheckTicketRepository.findAll(); |
| 73 | - Date date = DateUtils.parseDate("2017-05-24", "yyyy-MM-dd"); | |
| 73 | + Date date = DateUtils.parseDate("2017-05-25", "yyyy-MM-dd"); | |
| 74 | 74 | List<PatientCheckTicket> patientCheckTickets = mongoTemplate.find(Query.query(Criteria.where("created").gte(date)), PatientCheckTicket.class); |
| 75 | 75 | LOG.info("本次共需要导入 [{}] 条数据", patientCheckTickets.size()); |
| 76 | 76 | for (PatientCheckTicket checkTicket : patientCheckTickets) { |
| ... | ... | @@ -200,7 +200,6 @@ |
| 200 | 200 | String suffix = id.substring(id.length() - 1, id.length()); |
| 201 | 201 | String cacheTempId = tempCacheMap.get(suffix + hospitalId); |
| 202 | 202 | if(StringUtils.isNotBlank(cacheTempId)) { |
| 203 | - LOG.info("命中缓存直接返回 [{}]", cacheTempId); | |
| 204 | 203 | return cacheTempId; |
| 205 | 204 | } |
| 206 | 205 |
regional-etl/src/main/resources/application.properties
View file @
9225a06