|
|
@@ -60,6 +60,22 @@ public class MainBusinessTask {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @Scheduled(cron = "0 30 2 * * ?")
|
|
|
+ private void uploadCrbEmrAdmissionRecord() {
|
|
|
+ if (StrUtil.isNotBlank(thyy.getMainAddress())) {
|
|
|
+ String url = thyy.getMainAddress() + "/crbBase/uploadEmrAdmissionRecord";
|
|
|
+ template.getForObject(url, String.class);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @Scheduled(cron = "0 40 2 * * ?")
|
|
|
+ private void uploadCrbEmrEx() {
|
|
|
+ if (StrUtil.isNotBlank(thyy.getMainAddress())) {
|
|
|
+ String url = thyy.getMainAddress() + "/crbBase/uploadEmrEx";
|
|
|
+ template.getForObject(url, String.class);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@Scheduled(cron = "0 0 6 * * ?")
|
|
|
public void notifyDailyCount() {
|
|
|
if (StrUtil.isNotBlank(thyy.getMainAddress())) {
|