From 458a95b022dc197243d73ab821e67b15d0cff164 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Tue, 16 Dec 2025 15:11:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E7=BB=84=E5=90=88?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=9F=A5=E7=9C=8B=E6=9D=83=E9=99=90=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1566555886813192]组合工具查看权限不生效 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1566555886813192 --- .../dao/mapper/AutoexecCombopMapper.java | 13 ++- .../dao/mapper/AutoexecCombopMapper.xml | 88 +++++++++++++++++-- .../dto/combop/AutoexecCombopSearchVo.java | 80 +++++++++++++++++ 3 files changed, 170 insertions(+), 11 deletions(-) create mode 100644 src/main/java/neatlogic/framework/autoexec/dto/combop/AutoexecCombopSearchVo.java diff --git a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.java b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.java index 993037d7..f961ec0a 100644 --- a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.java +++ b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.java @@ -14,6 +14,7 @@ package neatlogic.framework.autoexec.dao.mapper; import neatlogic.framework.autoexec.dto.AutoexecTypeVo; import neatlogic.framework.autoexec.dto.combop.AutoexecCombopAuthorityVo; +import neatlogic.framework.autoexec.dto.combop.AutoexecCombopSearchVo; import neatlogic.framework.autoexec.dto.combop.AutoexecCombopVo; import neatlogic.framework.common.dto.BasePageVo; import neatlogic.framework.dto.AuthenticationInfoVo; @@ -40,13 +41,17 @@ public interface AutoexecCombopMapper { List getAutoexecCombopByIdList(List idList); - int getAutoexecCombopCount(AutoexecCombopVo searchVo); +// int getAutoexecCombopCount(AutoexecCombopVo searchVo); +// +// List getAutoexecCombopList(AutoexecCombopVo searchVo); - List getAutoexecCombopList(AutoexecCombopVo searchVo); +// List getAutoexecCombopIdList(AutoexecCombopVo searchVo); - List getAutoexecCombopIdList(AutoexecCombopVo searchVo); +// List getAutoexecCombopListByIdList(List idList); - List getAutoexecCombopListByIdList(List idList); + int getAutoexecCombopCount(AutoexecCombopSearchVo searchVo); + + List getAutoexecCombopIdList(AutoexecCombopSearchVo searchVo); List getAutoexecCombopAuthorityListByCombopId(Long combopId); diff --git a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.xml b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.xml index d589d85e..b53cbc88 100644 --- a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.xml +++ b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecCombopMapper.xml @@ -75,7 +75,7 @@ - + --> - + --> - + --> - --> + + + + + AND b.status = 'draft' + + + AND b.status = 'submitted' + + + AND b.status = 'rejected' + + + AND b.status = 'passed' AND b.is_active = 1 + + + + AND (a.`name` LIKE concat('%', #{keyword}, '%') OR a.`description` LIKE concat('%', #{keyword}, '%')) + + + AND a.`type_id` = #{typeId} + + + AND a.`is_active` = #{isActive} + + + AND (a.`owner` = #{userUuid} + OR (c.`uuid` = 'alluser' + + AND c.`action` = #{action} + ) + + + OR (c.`uuid` IN + + #{uuid} + + + AND c.`action` = #{action} + + ) + + + OR 1 != 1 + + + ) + + + + + + - - - - - - - - -- Gitee