@CacheConfig(cacheNames="RightResCache") @Service @Transactional(rollbackFor=java.lang.Exception.class) public class CoreFunctionServiceImpl extends BaseServiceImpl<CoreRes> implements CoreFunctionService
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) CoreResService |
coreResService |
| 构造器和说明 |
|---|
CoreFunctionServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
CoreRes |
addEntity(CoreRes coreRes)
新增实体并返回实体
|
java.util.List<CoreRes> |
findFunctionList(java.util.Map<java.lang.String,java.lang.Object> map)
查询功能,如果机构id为空则查询通用的功能,否则则是个性化功能
|
CoreRes |
findFunctionOptions(java.lang.String funcId)
获取函数的配置信息
|
int |
modify(CoreRes coreRes)
更新实体
|
RetVo |
removeByObjs(java.util.List<CoreRes> coreresList)
批量删除功能
|
add, confirm, findAll, findList, getEntity, removeById, removeByIds, saveJdbc, startProcess, startProcessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, confirm, findAll, findList, getEntity, removeById, removeByIds, startProcess, startProcess@Autowired CoreResService coreResService
@Transactional(propagation=REQUIRED) public java.util.List<CoreRes> findFunctionList(java.util.Map<java.lang.String,java.lang.Object> map)
CoreFunctionServicefindFunctionList 在接口中 CoreFunctionServicemap - 参数Mappublic RetVo removeByObjs(java.util.List<CoreRes> coreresList) throws java.lang.Exception
CoreFunctionServiceremoveByObjs 在接口中 CoreFunctionServicecoreresList - 资源Listjava.lang.Exception - 出错会抛出异常@CacheEvict(allEntries=true) public CoreRes addEntity(CoreRes coreRes) throws java.lang.Exception
BaseServiceaddEntity 在接口中 BaseService<CoreRes>addEntity 在类中 BaseServiceImpl<CoreRes>coreRes - 实体对象java.lang.Exception - 出错会抛出异常@CacheEvict(allEntries=true) public int modify(CoreRes coreRes) throws java.lang.Exception
BaseServicemodify 在接口中 BaseService<CoreRes>modify 在类中 BaseServiceImpl<CoreRes>coreRes - 实体对象java.lang.Exception - 出错会抛出异常@Transactional(propagation=REQUIRED) public CoreRes findFunctionOptions(java.lang.String funcId)
CoreFunctionServicefindFunctionOptions 在接口中 CoreFunctionServicefuncId - 功能资源id