|
@@ -23,6 +23,7 @@ import com.diagbot.vo.OperationConfigVO;
|
|
|
import com.diagbot.vo.PacsConfigVO;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.Arrays;
|
|
@@ -50,6 +51,7 @@ public class TransferFacade {
|
|
|
* @param sysType
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Cacheable(value = "aipt-service", key = "'Connect:hosCode_' + #hosCode + '_sysType_' + #sysType")
|
|
|
public Boolean isConnect(String hosCode, Integer sysType) {
|
|
|
Boolean isConnect = false;
|
|
|
if (StringUtil.isNotBlank(hosCode)) {
|