diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java index f9060c269..ae93c6639 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/FactoryTokenServiceImpl.java @@ -1,6 +1,5 @@ package com.logpm.factory.comfac.service.impl; -import com.alibaba.nacos.common.utils.MD5Utils; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.logpm.factory.comfac.mapper.FactoryTokenMapper; import com.logpm.factory.comfac.service.IFactoryTokenService; @@ -11,7 +10,6 @@ import org.slf4j.LoggerFactory; import org.springblade.core.mp.base.BaseServiceImpl; import org.springframework.stereotype.Service; -import java.nio.charset.StandardCharsets; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.Objects; @@ -26,11 +24,11 @@ public class FactoryTokenServiceImpl extends BaseServiceImpl queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("token_abst",tokenAbst) + queryWrapper.eq("token",token) .eq("corpid",corpId); FactoryToken factoryToken = baseMapper.selectOne(queryWrapper); if(Objects.isNull(factoryToken)){