Class DsInfoServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DsInfoMapper,DsInfo>
cn.sliew.carp.module.datasource.service.impl.DsInfoServiceImpl
- All Implemented Interfaces:
DsInfoService,com.baomidou.mybatisplus.extension.service.IService<DsInfo>
@Service
public class DsInfoServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DsInfoMapper,DsInfo>
implements DsInfoService
-
Field Summary
Fields inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, log, mapperClass, typeArgumentsFields inherited from interface com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(AbstractDataSource dataSource) booleandeleteBatch(Collection<Long> ids) booleandeleteById(Long id) cn.sliew.carp.framework.common.model.PageResult<DsInfoDTO>list(DsInfoListParam param) listByType(cn.sliew.carp.framework.common.dict.datasource.DataSourceType type) booleanupdate(Long id, AbstractDataSource dataSource) Methods inherited from class 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, updateBatchByIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
Constructor Details
-
DsInfoServiceImpl
public DsInfoServiceImpl()
-
-
Method Details
-
list
- Specified by:
listin interfaceDsInfoService
-
listByType
public List<DsInfoDTO> listByType(cn.sliew.carp.framework.common.dict.datasource.DataSourceType type) - Specified by:
listByTypein interfaceDsInfoService
-
selectOne
- Specified by:
selectOnein interfaceDsInfoService
-
add
- Specified by:
addin interfaceDsInfoService
-
update
- Specified by:
updatein interfaceDsInfoService
-
deleteById
- Specified by:
deleteByIdin interfaceDsInfoService
-
deleteBatch
@Transactional(rollbackFor=java.lang.Exception.class, transactionManager="carpTransactionManager") public boolean deleteBatch(Collection<Long> ids) - Specified by:
deleteBatchin interfaceDsInfoService
-