| | |
| | | package com.yeshi.fanli.dao.mybatis.user; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.user.UserLotteryRecord; |
| | | |
| | | public interface UserLotteryRecordMapper extends BaseMapper<UserLotteryRecord>{ |
| | | |
| | | /** |
| | | * 根据用户、抽奖类型查询记录 |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | UserLotteryRecord getByTypeAndUid(@Param("uid")Long uid, @Param("type")String type); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.user;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.UserLotteryRecord;
|
| | |
|
| | | public interface UserLotteryRecordMapper extends BaseMapper<UserLotteryRecord>{
|
| | |
|
| | | /**
|
| | | * 根据用户、抽奖类型查询记录
|
| | | * @param uid
|
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | UserLotteryRecord getByTypeAndUid(@Param("uid")Long uid, @Param("type")String type);
|
| | | |
| | | } |