소스 검색

在线升级

zhangjiansheng 3 달 전
부모
커밋
0e3e39b05f

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

@@ -181,7 +181,7 @@ public class SysClinicInfoController extends BaseController {
181 181
 //                .eq(SysClinicInfo::getClinicIp, ipAddress)
182 182
 //        );
183 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 186
         if (list.isEmpty())
187 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 4
 import com.eitc.common.monitor.FileSizeMonitor;
5 5
 import com.eitc.common.utils.InterfaceVerificationUtil;
6
-import com.eitc.common.utils.ShellUtils;
7 6
 import com.eitc.common.utils.spring.SpringUtils;
8 7
 import com.eitc.patient.domain.ClinicInfo;
9 8
 import com.eitc.patient.service.IClinicInfoService;
@@ -11,14 +10,12 @@ import com.eitc.patient.vo.ClinicInfoVO;
11 10
 import org.springframework.beans.factory.annotation.Value;
12 11
 import org.springframework.http.HttpHeaders;
13 12
 import org.springframework.http.HttpMethod;
14
-import org.springframework.scheduling.annotation.Async;
15 13
 import org.springframework.stereotype.Component;
16 14
 import org.springframework.util.StreamUtils;
17 15
 import org.springframework.web.client.ResponseExtractor;
18 16
 import org.springframework.web.client.RestTemplate;
19 17
 
20 18
 import javax.annotation.Resource;
21
-import javax.servlet.http.HttpServletRequest;
22 19
 import java.io.BufferedOutputStream;
23 20
 import java.io.File;
24 21
 import java.io.IOException;