public class CommissionRecordSCAClient extends Object implements CommissionRecordService
| Constructor and Description |
|---|
CommissionRecordSCAClient() |
public CommissionRecordService getCommissionRecordService()
public void setCommissionRecordService(CommissionRecordService commissionRecordService)
public Long insert(CommissionRecord commissionRecord) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<CommissionRecord> insertList(List<CommissionRecord> commissionRecordList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(CommissionRecord commissionRecord) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<CommissionRecord> commissionRecordList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic CommissionRecord getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<CommissionRecord> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getTotalSubByPage(int position, Long uid, String number, Integer page, Integer size, boolean isPage) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getTotalSubByPage in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getCommissionRecordIdsByUid(Long uid, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getCommissionRecordIdsByUid in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getCommissionRecordIdByBankId(Long bankId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getCommissionRecordIdByBankId in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countCommissionRecordIdsByUid(Long uid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countCommissionRecordIdsByUid in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getCommissionRecordIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getCommissionRecordIds in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countCommissionRecordIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countCommissionRecordIds in interface CommissionRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer userCommissionRecord(User user, BigDecimal commissionAmount, CommissionManagement commissionManagement, Long bankId, String bankName, boolean isNext) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
CommissionRecordServiceuserCommissionRecord in interface CommissionRecordServiceuser - 当前办理信用卡用户commissionAmount - 当前办理成功银行卡分佣金额commissionManagement - 当前分成百分比bankId - 当前申请银行idbankName - 当前申请银行名称com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer calculationCommission(User user, BigDecimal commissionAmount, Long bankId, String bankName) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
CommissionRecordServicecalculationCommission in interface CommissionRecordServiceuser - 当前办理信用卡用户commissionAmount - 当前办理成功银行卡分佣金额bankId - 当前申请银行idbankName - 当前申请银行名称com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getIdsByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdsByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean fakeDelete(Class clz, Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
fakeDelete in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void deleteList(Class clz, List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
deleteList in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getObjectByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.