| | |
| | | package com.ks.goldcorn.service.remote; |
| | | |
| | | import com.ks.goldcorn.pojo.DO.GoldCornRecord; |
| | | import com.ks.goldcorn.pojo.DO.GoldCornRecordCountMap; |
| | | import com.ks.goldcorn.pojo.Query.GoldCornRecordQuery; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | /** |
| | | * 用户记录列表 |
| | | * |
| | | * @param appCode |
| | | * @param uid |
| | | * @param type 1-获得 2-消耗 |
| | | * @param page |
| | | * @param pageSize |
| | | * @param query |
| | | * @return |
| | | */ |
| | | public List<GoldCornRecord> listUserRecord(String appCode, String uid, Integer type, int page, int pageSize); |
| | | public List<GoldCornRecord> listUserRecord(GoldCornRecordQuery query); |
| | | |
| | | |
| | | /** |
| | | * 用户记录数量 |
| | | * |
| | | * @param appCode |
| | | * @param uid |
| | | * @param type 1-获得 2-消耗 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | public long countUserRecord(String appCode, String uid, Integer type); |
| | | public long countUserRecord(GoldCornRecordQuery query); |
| | | |
| | | |
| | | /** |
| | | * 用户记录数量(source分组) |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | public List<GoldCornRecordCountMap> countUserRecordBySource(GoldCornRecordQuery query); |
| | | |
| | | } |