| | |
| | | package com.yeshi.fanli.service.inter.user.cloud;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.cloud.UserCloudSendRecord;
|
| | |
|
| | | public interface UserCloudSendRecordService {
|
| | | |
| | | /**
|
| | | * 查询已发送记录
|
| | | * @param uid
|
| | | * @param sendId
|
| | | * @param sendOrigin
|
| | | * @return
|
| | | */
|
| | | public List<UserCloudSendRecord> listByUidAndSendId(Long uid, String sendId, String sendOrigin);
|
| | |
|
| | | /**
|
| | | * 保存
|
| | | * @param record
|
| | | * @return
|
| | | */
|
| | | public UserCloudSendRecord save(UserCloudSendRecord record);
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.inter.user.cloud; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.cloud.UserCloudSendRecord; |
| | | |
| | | public interface UserCloudSendRecordService { |
| | | |
| | | /** |
| | | * 查询已发送记录 |
| | | * @param uid |
| | | * @param sendId |
| | | * @param sendOrigin |
| | | * @return |
| | | */ |
| | | public UserCloudSendRecord getByUidAndSendId(Long uid, String sendId); |
| | | |
| | | /** |
| | | * 保存 |
| | | * @param record |
| | | * @return |
| | | */ |
| | | public UserCloudSendRecord save(UserCloudSendRecord record); |
| | | |
| | | /** |
| | | * 查询最后一次 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public UserCloudSendRecord getLastByUid(Long uid, Date lastTime); |
| | | |
| | | /** |
| | | * 后台查询 |
| | | * @param page |
| | | * @param count |
| | | * @param key |
| | | * @param sendOrigin |
| | | * @return |
| | | */ |
| | | public List<UserCloudSendRecord> query(int page, int count, String key, Integer sendOrigin); |
| | | |
| | | public long count(String key, Integer sendOrigin); |
| | | |
| | | /** |
| | | * 统计记录 |
| | | * @param uid |
| | | * @param sendOrigin |
| | | * @return |
| | | */ |
| | | public long countRecordNum(Long uid, Integer sendOrigin); |
| | | |
| | | } |