Commit 5628f52a authored by 向怀芳's avatar 向怀芳 🎱

新增 xstream 依赖

parent c2be2a42
......@@ -42,6 +42,12 @@
<artifactId>fastjson</artifactId>
<version>1.2.58</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.10</version>
</dependency>
</dependencies>
<build>
......
package cn.sh.stc.sict.theme.hphy.schedule;
import cn.sh.stc.sict.theme.hphy.wd.HosInfo;
import cn.sh.stc.sict.theme.hphy.wd.WanDaHttpUtil;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* 定时任务
* 1. 每月更新医院信息
......@@ -15,7 +19,8 @@ public class RefreshJob {
@Scheduled(cron = "")
public void updateHosp(){
HosInfo hosInfo = new HosInfo();
List<HosInfo> list = WanDaHttpUtil.getHospitalInfo(hosInfo);
}
@Scheduled(cron = "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment