@CacheConfig(cacheNames="configCache") @Service public class CoreSysOptServiceImpl extends BaseServiceImpl<CoreSysOpt> implements CoreSysOptService
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) CoreSysOptMapper |
coreSysOptMapper |
(专用程序包) CoreSysOptMxMapper |
coreSysOptMapperMx |
(专用程序包) CoreUserPdataService |
coreUserPdataService |
| 构造器和说明 |
|---|
CoreSysOptServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
findbyid(java.lang.String orgid,
java.lang.String optid)
通过ID查询V值 如果对应的机构没有只是"所有机构"的选项xtypec
|
java.lang.String |
findRealXtypecByRwid(java.lang.String orgid,
java.lang.String optid)
得到对应机构的选项,如果对应的机构没有只是返回null
|
java.lang.String |
findTheme()
查询系统主题
|
java.lang.String |
findXtypecByRwid(java.lang.String orgid,
java.lang.String optid)
查询大字段xtypec的值.
|
int |
modify(CoreSysOpt entity)
更新实体
|
void |
removetheme(java.util.Map<java.lang.String,java.lang.Object> params)
删除主题
|
add, addEntity, confirm, findAll, findList, getEntity, removeById, removeByIds, saveJdbc, startProcess, startProcessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addEntity, confirm, findAll, findList, getEntity, removeById, removeByIds, startProcess, startProcess@Autowired CoreSysOptMapper coreSysOptMapper
@Autowired CoreSysOptMxMapper coreSysOptMapperMx
@Autowired CoreUserPdataService coreUserPdataService
@Transactional(rollbackFor=java.lang.Exception.class)
@CacheEvict(value="configCache",
allEntries=true)
public int modify(CoreSysOpt entity)
throws java.lang.Exception
BaseServicemodify 在接口中 BaseService<CoreSysOpt>modify 在类中 BaseServiceImpl<CoreSysOpt>entity - 实体对象java.lang.Exception - 出错会抛出异常@Cacheable(key="#orgid+#optid")
public java.lang.String findbyid(java.lang.String orgid,
java.lang.String optid)
CoreSysOptServicefindbyid 在接口中 CoreSysOptServiceorgid - 机构id如果不传默认当前用户登录的idoptid - 系统选项的rwidpublic java.lang.String findXtypecByRwid(java.lang.String orgid,
java.lang.String optid)
CoreSysOptServicefindXtypecByRwid 在接口中 CoreSysOptServiceorgid - 机构idoptid - 系统选项rwidpublic java.lang.String findRealXtypecByRwid(java.lang.String orgid,
java.lang.String optid)
CoreSysOptServicefindRealXtypecByRwid 在接口中 CoreSysOptServiceorgid - 机构idoptid - 选项idpublic java.lang.String findTheme()
throws java.lang.Exception
CoreSysOptServicefindTheme 在接口中 CoreSysOptServicejava.lang.Exception - 出错会抛出异常@Transactional(rollbackFor=java.lang.Exception.class)
public void removetheme(java.util.Map<java.lang.String,java.lang.Object> params)
throws java.lang.Exception
CoreSysOptServiceremovetheme 在接口中 CoreSysOptServiceparams - 参数java.lang.Exception - 出错会抛出异常