构造器和说明 |
---|
EnumDAOImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
delete(Long id)
根据枚举id 删除枚举
|
List<CtpEnum> |
findAll()
查询所有枚举
|
List<CtpEnumBean> |
findAllEnumListByAccountId(String name,
Long parentId,
Long accountId) |
List<CtpEnumBean> |
findEnumCategorys(String name,
Long accountId) |
List<CtpEnumBean> |
getEnumByParentId(Long parentId) |
void |
saveOrUpdate(CtpEnum CtpEnum)
保存或者更新枚举
|
CtpEnum |
selectById(Long id)
根据枚举id查询枚举
|
void |
updateReference(Collection<Long> ids) |
void |
updateReference(Long id)
根据枚举id,更新该枚举的状态为引用
|
void |
updateReference(Long id,
String ifuse)
根据枚举id,更新该枚举的状态为引用
|
public List<CtpEnum> findAll() throws BusinessException
EnumDAO
findAll
在接口中 EnumDAO
BusinessException
public void saveOrUpdate(CtpEnum CtpEnum) throws BusinessException
EnumDAO
saveOrUpdate
在接口中 EnumDAO
BusinessException
public void updateReference(Long id) throws BusinessException
EnumDAO
updateReference
在接口中 EnumDAO
BusinessException
public void updateReference(Collection<Long> ids) throws BusinessException
updateReference
在接口中 EnumDAO
BusinessException
public void updateReference(Long id, String ifuse) throws BusinessException
EnumDAO
updateReference
在接口中 EnumDAO
BusinessException
public CtpEnum selectById(Long id) throws BusinessException
EnumDAO
selectById
在接口中 EnumDAO
BusinessException
public void delete(Long id) throws BusinessException
EnumDAO
delete
在接口中 EnumDAO
BusinessException
public List<CtpEnumBean> findAllEnumListByAccountId(String name, Long parentId, Long accountId) throws BusinessException
findAllEnumListByAccountId
在接口中 EnumDAO
BusinessException
public List<CtpEnumBean> getEnumByParentId(Long parentId) throws BusinessException
getEnumByParentId
在接口中 EnumDAO
BusinessException
public List<CtpEnumBean> findEnumCategorys(String name, Long accountId) throws BusinessException
findEnumCategorys
在接口中 EnumDAO
BusinessException
Copyright © 2016–2018. All rights reserved.