@Repository(value="MySQLDictRepository") public class DictRepositoryImpl extends Object implements DictRepository
| 构造器和说明 |
|---|
DictRepositoryImpl() |
public List<DictDO> query(Map<String,String> params, long offset, int pageSize) throws SQLException
query 在接口中 DictRepositoryparams - offset - pageSize - SQLExceptionpublic List<DictDO> queryByDomainAndItemAndValueTupleList(List<String[]> domainAndItemAndValueList) throws SQLException
queryByDomainAndItemAndValueTupleList 在接口中 DictRepositorydomainAndItemAndValueList - SQLExceptionpublic long countByDomainAndItem(Map<String,String> params) throws SQLException
countByDomainAndItem 在接口中 DictRepositoryparams - SQLExceptionpublic void batchUpdate(List<DictDO> dictDOList) throws ServiceException, SQLException
batchUpdate 在接口中 DictRepositorydictDOList - ServiceExceptionSQLExceptionpublic List<DictDO> batchInsert(List<DictDO> dictDOList) throws ServiceException, SQLException
batchInsert 在接口中 DictRepositorydictDOList - ServiceExceptionSQLExceptionpublic void batchDelete(List<String> idList) throws ServiceException, SQLException
batchDelete 在接口中 DictRepositoryidList - ServiceExceptionSQLExceptionpublic List<DictDO> findByDomainAndItem(String domain, String item) throws SQLException
findByDomainAndItem 在接口中 DictRepositorySQLExceptionpublic List<Map<String,String>> queryDistinctDomainItemLimit(Map<String,String> params, long offset, int pageSize) throws SQLException
queryDistinctDomainItemLimit 在接口中 DictRepositoryparams - offset - pageSize - SQLExceptionpublic List<DictDO> queryLimitByDomainAndItem(Map<String,String> params, long offset, int pageSize) throws SQLException
queryLimitByDomainAndItem 在接口中 DictRepositoryparams - offset - pageSize - SQLExceptionpublic void updateValueByDomainAndItem(List<DictDO> dictDOList) throws SQLException
updateValueByDomainAndItem 在接口中 DictRepositorySQLExceptionpublic List<DictDO> findByApplication(String domain, String item, List<String> values) throws SQLException
findByApplication 在接口中 DictRepositorySQLExceptionpublic DictDO findById(String id) throws SQLException
findById 在接口中 DictRepositorySQLExceptionpublic void updateDomainNameOrItemName(String oldDomain, String newDomain, String oldItem, String newItem) throws SQLException
updateDomainNameOrItemName 在接口中 DictRepositorySQLExceptionpublic void deleteByDomainAndItem(String domain, String item) throws SQLException
deleteByDomainAndItem 在接口中 DictRepositorySQLExceptionpublic List<DictDO> findByParentIdList(List<String> parentIdList) throws SQLException
findByParentIdList 在接口中 DictRepositorySQLExceptionCopyright © 2020. All rights reserved.