Class CarpDsInfoServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DsInfoMapper,DsInfo>
cn.sliew.carp.module.datasource.service.impl.CarpDsInfoServiceImpl
- All Implemented Interfaces:
CarpDsInfoService,com.baomidou.mybatisplus.extension.service.IService<DsInfo>
@Service
public class CarpDsInfoServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DsInfoMapper,DsInfo>
implements CarpDsInfoService
-
Field Summary
Fields inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, logFields inherited from interface com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(DataSourceInfo 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, DataSourceInfo dataSource) Methods inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, 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
-
CarpDsInfoServiceImpl
public CarpDsInfoServiceImpl()
-
-
Method Details
-
list
- Specified by:
listin interfaceCarpDsInfoService
-
listByType
public List<DsInfoDTO> listByType(cn.sliew.carp.framework.common.dict.datasource.DataSourceType type) - Specified by:
listByTypein interfaceCarpDsInfoService
-
selectOne
- Specified by:
selectOnein interfaceCarpDsInfoService
-
add
- Specified by:
addin interfaceCarpDsInfoService
-
update
- Specified by:
updatein interfaceCarpDsInfoService
-
deleteById
- Specified by:
deleteByIdin interfaceCarpDsInfoService
-
deleteBatch
@Transactional(rollbackFor=java.lang.Exception.class, transactionManager="carpTransactionManager") public boolean deleteBatch(Collection<Long> ids) - Specified by:
deleteBatchin interfaceCarpDsInfoService
-