|
|
|
@ -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<ObjectTemplateEntity> {
|
|
|
|
|
* 根据对象id获取模板list |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@InterceptorIgnore(tenantLine = "true") |
|
|
|
|
List<ObjectTemplateEntity> getListByObjectId(@Param("objectId") Long objectId, @Param("type") String type); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -27,6 +29,7 @@ public interface ObjectTemplateMapper extends BaseMapper<ObjectTemplateEntity> {
|
|
|
|
|
* 根据对象id获取模板项目内容 |
|
|
|
|
* @param objectId |
|
|
|
|
*/ |
|
|
|
|
@InterceptorIgnore(tenantLine = "true") |
|
|
|
|
List<TemplateProjectVo> getTemplateByObjectId(Long objectId); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|