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);