public interface CustomerService
extends com.ptteng.common.dao.BaseDaoService
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countCustomerIds() |
Integer |
countCustomerIdsByMerchantId(Long merchantId) |
Integer |
countCustomerIdsByMerchantIdAndStatus(Long merchantId,
Integer status) |
Integer |
countCustomerIdsByMerchantIdAndType(Long merchantId,
Integer type) |
boolean |
delete(Long id) |
List<Long> |
getCustomerIds(Integer start,
Integer limit) |
List<Long> |
getCustomerIdsByMerchantId(Long merchantId,
Integer start,
Integer limit) |
List<Long> |
getCustomerIdsByMerchantIdAndStatus(Long merchantId,
Integer status,
Integer start,
Integer limit) |
List<Long> |
getCustomerIdsByMerchantIdAndType(Long merchantId,
Integer type,
Integer start,
Integer limit) |
Customer |
getObjectById(Long id) |
List<Customer> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Customer customer) |
List<Customer> |
insertList(List<Customer> customerList) |
boolean |
update(Customer customer) |
boolean |
updateList(List<Customer> customerList) |
Long insert(Customer customer) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Customer> insertList(List<Customer> customerList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean update(Customer customer) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Customer> customerList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCustomer getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Customer> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countCustomerIdsByMerchantIdAndType(Long merchantId, Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countCustomerIdsByMerchantId(Long merchantId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countCustomerIdsByMerchantIdAndStatus(Long merchantId, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getCustomerIdsByMerchantIdAndType(Long merchantId, Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getCustomerIdsByMerchantId(Long merchantId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getCustomerIdsByMerchantIdAndStatus(Long merchantId, Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getCustomerIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countCustomerIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2022. All rights reserved.