@Transactional(rollbackFor=java.lang.Exception.class) @Service public class CoreFileResServiceImpl extends BaseServiceImpl<CoreFileRes> implements CoreFileResService
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreFileResMapper |
coreFileResMapper |
构造器和说明 |
---|
CoreFileResServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
CoreFileRes |
addEntity(CoreFileRes entity)
新增实体并返回实体
|
int |
modify(CoreFileRes entity)
更新实体
|
add, confirm, findAll, findList, getEntity, removeById, removeByIds, saveJdbc, startProcess, startProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, confirm, findAll, findList, getEntity, removeById, removeByIds, startProcess, startProcess
@Autowired CoreFileResMapper coreFileResMapper
public CoreFileRes addEntity(CoreFileRes entity) throws java.lang.Exception
BaseService
addEntity
在接口中 BaseService<CoreFileRes>
addEntity
在类中 BaseServiceImpl<CoreFileRes>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常@CacheEvict(allEntries=true, cacheNames="RightResCache") public int modify(CoreFileRes entity) throws java.lang.Exception
BaseService
modify
在接口中 BaseService<CoreFileRes>
modify
在类中 BaseServiceImpl<CoreFileRes>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常