@Transactional(rollbackFor=java.lang.Exception.class) @Service public class CoreTablesIndexServiceImpl extends BaseServiceImpl<CoreTablesIndex> implements CoreTablesIndexService
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreDbService |
coreDbService |
(专用程序包) CoreTablesIndexMapper |
coreTablesIndexMapper |
(专用程序包) CoreTablesMapper |
coreTablesMapper |
构造器和说明 |
---|
CoreTablesIndexServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
CoreTablesIndex |
addEntity(CoreTablesIndex entity)
新增实体并返回实体
|
java.util.List<CoreTablesIndex> |
findIndexsByTableId(java.lang.String tbId)
通过表id获取索引
|
int |
removeByIds(java.util.List<java.lang.String> ids)
删除多个实体
|
add, confirm, findAll, findList, getEntity, modify, removeById, saveJdbc, startProcess, startProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, confirm, findAll, findList, getEntity, modify, removeById, startProcess, startProcess
@Autowired CoreTablesIndexMapper coreTablesIndexMapper
@Autowired CoreTablesMapper coreTablesMapper
@Autowired CoreDbService coreDbService
public CoreTablesIndex addEntity(CoreTablesIndex entity) throws java.lang.Exception
BaseService
addEntity
在接口中 BaseService<CoreTablesIndex>
addEntity
在类中 BaseServiceImpl<CoreTablesIndex>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常public int removeByIds(java.util.List<java.lang.String> ids) throws java.lang.Exception
BaseService
removeByIds
在接口中 BaseService<CoreTablesIndex>
removeByIds
在类中 BaseServiceImpl<CoreTablesIndex>
ids
- 实体的主键Listjava.lang.Exception
- 出错会抛出异常public java.util.List<CoreTablesIndex> findIndexsByTableId(java.lang.String tbId)
CoreTablesIndexService
findIndexsByTableId
在接口中 CoreTablesIndexService
tbId
- 表模型id