From 649fea95160cd62feb501e04e856c4edc384d114 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Sun, 7 Apr 2024 11:52:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=AE=A1=E7=90=86-=E5=9C=A8=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=88=97=E8=A1=A8=E5=85=B3=E9=94=AE=E5=AD=97=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9C=8D=E5=8A=A1=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1121568401358848]服务目录管理-在目录列表关键字搜索服务异常 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1121568401358848 --- .../api/catalog/CatalogChannelSearchApi.java | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/main/java/neatlogic/module/process/api/catalog/CatalogChannelSearchApi.java b/src/main/java/neatlogic/module/process/api/catalog/CatalogChannelSearchApi.java index eb61f131d..637536cd7 100755 --- a/src/main/java/neatlogic/module/process/api/catalog/CatalogChannelSearchApi.java +++ b/src/main/java/neatlogic/module/process/api/catalog/CatalogChannelSearchApi.java @@ -1,28 +1,26 @@ package neatlogic.module.process.api.catalog; -import java.util.ArrayList; -import java.util.List; - -import neatlogic.framework.auth.core.AuthAction; -import neatlogic.framework.process.auth.PROCESS_BASE; -import org.apache.commons.lang3.StringUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; - +import neatlogic.framework.auth.core.AuthAction; import neatlogic.framework.common.constvalue.ApiParamType; import neatlogic.framework.common.dto.BasePageVo; import neatlogic.framework.common.util.PageUtil; +import neatlogic.framework.process.auth.PROCESS_BASE; import neatlogic.framework.process.dao.mapper.CatalogMapper; import neatlogic.framework.process.dao.mapper.ChannelMapper; import neatlogic.framework.process.dto.CatalogVo; import neatlogic.framework.process.dto.ChannelVo; -import neatlogic.module.process.service.CatalogService; -import neatlogic.framework.restful.constvalue.OperationTypeEnum; import neatlogic.framework.restful.annotation.*; +import neatlogic.framework.restful.constvalue.OperationTypeEnum; import neatlogic.framework.restful.core.privateapi.PrivateApiComponentBase; +import neatlogic.module.process.service.CatalogService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.ArrayList; +import java.util.List; @Service @AuthAction(action = PROCESS_BASE.class) @@ -88,6 +86,7 @@ public class CatalogChannelSearchApi extends PrivateApiComponentBase { catalogVo.setUuid(channelVo.getUuid()); catalogVo.setName(channelVo.getName()); catalogVo.setParentUuid(channelVo.getParentUuid()); + catalogVo.setType("channel"); catalogChannelList.add(catalogVo); } catalogChannelList.sort((catalogVo1, catalogVo2) -> catalogVo1.getName().compareTo(catalogVo2.getName())); -- Gitee