Browse Source

在线升级

zhangjiansheng 3 months ago
parent
commit
0e3e39b05f

+ 1 - 1
eitc-manage/src/main/java/com/eitc/manage/controller/SysClinicInfoController.java

@@ -181,7 +181,7 @@ public class SysClinicInfoController extends BaseController {
181
 //                .eq(SysClinicInfo::getClinicIp, ipAddress)
181
 //                .eq(SysClinicInfo::getClinicIp, ipAddress)
182
 //        );
182
 //        );
183
         List<SysClinicInfo> list = sysClinicInfoService.list(Wrappers.<SysClinicInfo>lambdaQuery()
183
         List<SysClinicInfo> list = sysClinicInfoService.list(Wrappers.<SysClinicInfo>lambdaQuery()
184
-                .eq(SysClinicInfo::getClinicIp, "127.0.0.1")
184
+                .eq(SysClinicInfo::getClinicIp, ipAddress)
185
         );
185
         );
186
         if (list.isEmpty())
186
         if (list.isEmpty())
187
 //            response.addHeader("msg","2");
187
 //            response.addHeader("msg","2");

+ 0 - 3
eitc-quartz/src/main/java/com/eitc/quartz/task/SysClinicInfoTask.java

@@ -3,7 +3,6 @@ package com.eitc.quartz.task;
3
 
3
 
4
 import com.eitc.common.monitor.FileSizeMonitor;
4
 import com.eitc.common.monitor.FileSizeMonitor;
5
 import com.eitc.common.utils.InterfaceVerificationUtil;
5
 import com.eitc.common.utils.InterfaceVerificationUtil;
6
-import com.eitc.common.utils.ShellUtils;
7
 import com.eitc.common.utils.spring.SpringUtils;
6
 import com.eitc.common.utils.spring.SpringUtils;
8
 import com.eitc.patient.domain.ClinicInfo;
7
 import com.eitc.patient.domain.ClinicInfo;
9
 import com.eitc.patient.service.IClinicInfoService;
8
 import com.eitc.patient.service.IClinicInfoService;
@@ -11,14 +10,12 @@ import com.eitc.patient.vo.ClinicInfoVO;
11
 import org.springframework.beans.factory.annotation.Value;
10
 import org.springframework.beans.factory.annotation.Value;
12
 import org.springframework.http.HttpHeaders;
11
 import org.springframework.http.HttpHeaders;
13
 import org.springframework.http.HttpMethod;
12
 import org.springframework.http.HttpMethod;
14
-import org.springframework.scheduling.annotation.Async;
15
 import org.springframework.stereotype.Component;
13
 import org.springframework.stereotype.Component;
16
 import org.springframework.util.StreamUtils;
14
 import org.springframework.util.StreamUtils;
17
 import org.springframework.web.client.ResponseExtractor;
15
 import org.springframework.web.client.ResponseExtractor;
18
 import org.springframework.web.client.RestTemplate;
16
 import org.springframework.web.client.RestTemplate;
19
 
17
 
20
 import javax.annotation.Resource;
18
 import javax.annotation.Resource;
21
-import javax.servlet.http.HttpServletRequest;
22
 import java.io.BufferedOutputStream;
19
 import java.io.BufferedOutputStream;
23
 import java.io.File;
20
 import java.io.File;
24
 import java.io.IOException;
21
 import java.io.IOException;