dangsn
2024-06-07 7664ba49025a6c549885fc6019e4d3c1886f45a6
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmSessionForLoginImpl.java
@@ -14,8 +14,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
@@ -25,8 +23,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.vci.web.constant.CacheNameConstant.VCI_SESSION;
/**
 * 会话存储的服务
@@ -155,7 +151,6 @@
     * @return 用户会话对象
     */
    @Override
    @Cacheable(value = VCI_SESSION,key = "#p0",unless = "#target == null")
    public SessionInfo getSessionInfoByToken(String userToken) {
        WebUtil.alertNotNull(userToken,"许可的信息");
        List<Map> dataList = boService.queryBySqlForMap("select JSONSTRING as JSONSTRING from VCI_SESSIONINFO where TOKEN ='" + userToken.trim() + "'", new HashMap<>());