类 DesignPermissionsServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DesignPermissionsMapper,DesignPermissions>
io.github.mangocrisp.spring.taybct.module.lf.service.impl.DesignPermissionsServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<DesignPermissions>
,IDesignPermissionsService
public class DesignPermissionsServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DesignPermissionsMapper,DesignPermissions>
implements IDesignPermissionsService
- 从以下版本开始:
- 2023-07-06 10:21:37
-
字段概要
字段修饰符和类型字段说明protected io.github.mangocrisp.spring.taybct.tool.core.mybatis.util.DataScopeUtil
protected DataSource
protected io.github.mangocrisp.spring.taybct.tool.core.bean.ISecurityUtil
从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, log, mapperClass, typeArguments
从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
checkPermission
(Collection<Long> designIdList, DesignPermissionsType[] permissionsTypes) 检查是否有操作设计图的权限getPermissions
(Long designId, Long userId, io.github.mangocrisp.spring.taybct.tool.core.request.SqlQueryParams sqlQueryParams) 获取流程设计权限分配boolean
shareDesign
(List<DesignPermissions> list) 分享设计从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
-
字段详细资料
-
securityUtil
@Autowired(required=false) protected io.github.mangocrisp.spring.taybct.tool.core.bean.ISecurityUtil securityUtil -
dataScopeUtil
@Autowired(required=false) protected io.github.mangocrisp.spring.taybct.tool.core.mybatis.util.DataScopeUtil dataScopeUtil -
dataSource
-
-
构造器详细资料
-
DesignPermissionsServiceImpl
public DesignPermissionsServiceImpl()
-
-
方法详细资料
-
checkPermission
public boolean checkPermission(Collection<Long> designIdList, DesignPermissionsType[] permissionsTypes) 从接口复制的说明:IDesignPermissionsService
检查是否有操作设计图的权限- 指定者:
checkPermission
在接口中IDesignPermissionsService
- 参数:
designIdList
- 流程图 id 列表permissionsTypes
- 要检查的权限类型- 返回:
- boolean
-
getPermissions
public List<DesignPermissions> getPermissions(Long designId, Long userId, io.github.mangocrisp.spring.taybct.tool.core.request.SqlQueryParams sqlQueryParams) 从接口复制的说明:IDesignPermissionsService
获取流程设计权限分配- 指定者:
getPermissions
在接口中IDesignPermissionsService
- 参数:
designId
- 流程 iduserId
- 用户 idsqlQueryParams
- 分布查询条件- 返回:
- list
-