类 SysUserTenantServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysUserTenantMapper,SysUserTenant>
io.github.mangocrisp.spring.taybct.module.system.service.impl.SysUserTenantServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<SysUserTenant>
,ISysUserTenantService
public class SysUserTenantServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysUserTenantMapper,SysUserTenant>
implements ISysUserTenantService
-
字段概要
从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, log, mapperClass, typeArguments
从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE
-
构造器概要
构造器 -
方法概要
从类继承的方法 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
-
构造器详细资料
-
SysUserTenantServiceImpl
public SysUserTenantServiceImpl()
-
-
方法详细资料
-
saveBatch
@Transactional(rollbackFor=java.lang.Exception.class) public boolean saveBatch(Collection<SysUserTenant> entityList, Integer primaryBy) 从接口复制的说明:ISysUserTenantService
批量保存关联关系- 指定者:
saveBatch
在接口中ISysUserTenantService
- 参数:
entityList
- 用户租户关联列表primaryBy
- 以什么为主去保存 1 用户,其他 租户- 返回:
- boolean
-