|
|
|
@ -28,20 +28,20 @@ public class SyncHospitalViwe { |
|
|
|
@Resource |
|
|
|
private DockService dockService; |
|
|
|
|
|
|
|
// @Scheduled(cron = "0 */1 * * * ?")
|
|
|
|
@Scheduled(cron = "0 */1 * * * ?") |
|
|
|
public void getDeptView() { |
|
|
|
List<DockVo.DeptInfo> sysDepts = dockService.getDeptView(); |
|
|
|
syncDeptView(sysDepts); |
|
|
|
} |
|
|
|
|
|
|
|
// @Scheduled(cron = "0 */1 * * * ?")
|
|
|
|
@Scheduled(cron = "0 */1 * * * ?") |
|
|
|
public void getEmplView() { |
|
|
|
List<DockVo.EmplInfo> sysEmpls = dockService.getEmplView(); |
|
|
|
syncEmplView(sysEmpls); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// @Scheduled(cron = "0 */1 * * * ?")
|
|
|
|
@Scheduled(cron = "0 */1 * * * ?") |
|
|
|
public void getPatientBasicView() { |
|
|
|
//先查询当前就诊信息最后的时间
|
|
|
|
Date startTime = dockService.getPatientVisitLastDate(); |
|
|
|
|