From c0c9157a611af1db2daed87230c4b63670adcbb6 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Tue, 3 Sep 2024 21:08:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A1=E6=A3=80=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=B8=8E=E9=A1=B9=E7=9B=AE=E7=BB=91=E5=AE=9A=E8=A1=A8=E5=8E=BB?= =?UTF-8?q?=E9=99=A4tenantId=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=E6=8B=BC?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzinfo/inspect/obj/mapper/ObjectTemplateMapper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/mapper/ObjectTemplateMapper.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/mapper/ObjectTemplateMapper.java index a8d88a2..edfca53 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/mapper/ObjectTemplateMapper.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/mapper/ObjectTemplateMapper.java @@ -1,5 +1,6 @@ package com.hnac.hzinfo.inspect.obj.mapper; +import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import org.springblade.core.datascope.annotation.UserDataAuth; import com.hnac.hzinfo.inspect.obj.vo.TemplateProjectVo; import org.apache.ibatis.annotations.Mapper; @@ -20,6 +21,7 @@ public interface ObjectTemplateMapper extends BaseMapper { * 根据对象id获取模板list * @return */ + @InterceptorIgnore(tenantLine = "true") List getListByObjectId(@Param("objectId") Long objectId, @Param("type") String type); /** @@ -27,6 +29,7 @@ public interface ObjectTemplateMapper extends BaseMapper { * 根据对象id获取模板项目内容 * @param objectId */ + @InterceptorIgnore(tenantLine = "true") List getTemplateByObjectId(Long objectId);