From bafa53fce2fcea3141b83cec162df08ff501340b Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Thu, 26 Sep 2024 16:04:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89=E9=81=A5?= =?UTF-8?q?=E6=8E=A7=E6=8C=87=E4=BB=A4type=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java | 3 ++- .../hnac/gglm/bigmodel/maintenance/service/DataInstructService.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java index 3677b0b..c712395 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/interactive/service/impl/HznlmInteractiveServiceImpl.java @@ -17,8 +17,8 @@ import com.hnac.gglm.bigmodel.interactive.vo.AuthDataVO; import com.hnac.gglm.bigmodel.interactive.vo.ExtraVO; import com.hnac.gglm.bigmodel.interactive.vo.SessionContentVO; import com.hnac.gglm.bigmodel.manager.SessionRedisManager; -import groovy.util.logging.Slf4j; import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.tool.utils.BeanUtil; import org.springblade.core.tool.utils.Func; @@ -97,6 +97,7 @@ public class HznlmInteractiveServiceImpl implements IHznlmInteractiveService { } String levelAuth = ParamCache.getValue(ParamKeyConstants.LIBRARY_AUTH_LEVEL); result.put("levelAuth",Optional.ofNullable(levelAuth).map(Integer::valueOf).orElse(0)); + log.info("知识库鉴权:{}",result); return result; } diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java index f12b37a..eb9049f 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/DataInstructService.java @@ -58,7 +58,7 @@ public class DataInstructService extends BaseServiceImpl list = baseMapper.selectList(null); List deviceFuncDTOS = BeanUtil.copyProperties(list, DeviceFuncDTO.class); if(Func.isNotEmpty(deviceFuncDTOS)) { - deviceFuncDTOS.forEach(deviceFuncDTO -> deviceFuncDTO.setType("业务")); + deviceFuncDTOS.forEach(deviceFuncDTO -> deviceFuncDTO.setType("数据中心")); result.addAll(deviceFuncDTOS); } List deviceFuncList = vectorDataService.getDeviceFunc();