| | |
| | | package com.yeshi.fanli.service.inter.user.integral;
|
| | |
|
| | | import com.yeshi.fanli.entity.integral.UserGetIntegralFromOrderRecord;
|
| | | import com.yeshi.fanli.exception.integral.UserGetIntegralFromOrderRecordException;
|
| | |
|
| | | public interface UserGetIntegralFromOrderRecordService {
|
| | |
|
| | | /**
|
| | | * 根据事件类型,用户,订单信息检索
|
| | | * @param eventType
|
| | | * @param uid
|
| | | * @param orderNo
|
| | | * @param orderSourceType
|
| | | * @return
|
| | | */
|
| | | public long countByEventTypeAndUidAndOrderInfo(int eventType, Long uid, String orderNo, int orderSourceType);
|
| | |
|
| | | /**
|
| | | * |
| | | * @param record
|
| | | */
|
| | | public void addRecord(UserGetIntegralFromOrderRecord record) throws UserGetIntegralFromOrderRecordException;
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.user.integral; |
| | | |
| | | import com.yeshi.fanli.entity.integral.UserGetIntegralFromOrderRecord; |
| | | import com.yeshi.fanli.exception.integral.UserGetIntegralFromOrderRecordException; |
| | | |
| | | public interface UserGetIntegralFromOrderRecordService { |
| | | |
| | | /** |
| | | * 根据事件类型,用户,订单信息检索 |
| | | * @param eventType |
| | | * @param uid |
| | | * @param orderNo |
| | | * @param orderSourceType |
| | | * @return |
| | | */ |
| | | public long countByEventTypeAndUidAndOrderInfo(int eventType, Long uid, String orderNo, int orderSourceType); |
| | | |
| | | /** |
| | | * |
| | | * @param record |
| | | */ |
| | | public void addRecord(UserGetIntegralFromOrderRecord record) throws UserGetIntegralFromOrderRecordException; |
| | | |
| | | } |