@CacheConfig(cacheNames="userPdataCache") @Service @Transactional(rollbackFor=java.lang.Exception.class) public class CoreUserPdataServiceImpl extends BaseServiceImpl<CoreUserPdata> implements CoreUserPdataService
| 构造器和说明 |
|---|
CoreUserPdataServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
CoreUserPdata |
addEntity(CoreUserPdata entity)
新增实体并返回实体
|
int |
findCountByCommet(java.lang.String themeId)
通过内容查询有多少个记录正在使用
|
java.util.List<CoreUserPdata> |
findListByUidAndUpdId(java.lang.String updId,
java.lang.String userId)
根据私有数据使用场景id和用户id获取用户私有数据
|
int |
modify(CoreUserPdata entity)
更新实体
|
int |
modifyByUidAndUpdId(CoreUserPdata userPdata)
根据用户id和私有数据使用场景id来修改数据
|
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@CacheEvict(beforeInvocation=true,
allEntries=true)
public int modifyByUidAndUpdId(CoreUserPdata userPdata)
throws java.lang.Exception
CoreUserPdataServicemodifyByUidAndUpdId 在接口中 CoreUserPdataServiceuserPdata - UPD_USERID和UPD_SHIYCJID的属性值不能为空java.lang.Exception - 出错会抛出异常@CacheEvict(allEntries=true,
beforeInvocation=true)
public int modify(CoreUserPdata entity)
throws java.lang.Exception
BaseServicemodify 在接口中 BaseService<CoreUserPdata>modify 在类中 BaseServiceImpl<CoreUserPdata>entity - 实体对象java.lang.Exception - 出错会抛出异常@CacheEvict(allEntries=true,
beforeInvocation=true)
public CoreUserPdata addEntity(CoreUserPdata entity)
throws java.lang.Exception
BaseServiceaddEntity 在接口中 BaseService<CoreUserPdata>addEntity 在类中 BaseServiceImpl<CoreUserPdata>entity - 实体对象java.lang.Exception - 出错会抛出异常@Cacheable(key="#updId+\'_\'+#userId") @Transactional(propagation=REQUIRED) public java.util.List<CoreUserPdata> findListByUidAndUpdId(java.lang.String updId, java.lang.String userId) throws java.lang.Exception
CoreUserPdataServicefindListByUidAndUpdId 在接口中 CoreUserPdataServiceupdId - 用户私有数据场景id,该参数不能为空userId - 用户id
用户id,该参数不能为空java.lang.Exception - 出错会抛出异常@Transactional(propagation=REQUIRED) public int findCountByCommet(java.lang.String themeId)
CoreUserPdataServicefindCountByCommet 在接口中 CoreUserPdataServicethemeId - themeId