fix
This commit is contained in:
@@ -15,6 +15,14 @@ import java.util.List;
|
||||
public interface IPlayCustomGiftInfoService extends IService<PlayCustomGiftInfoEntity> {
|
||||
|
||||
|
||||
/**
|
||||
* 根据顾客ID和礼物ID,查询当前礼物活点亮情况
|
||||
* @param giftId 礼物ID
|
||||
* @param customId 顾客ID
|
||||
* @return 物活点亮情况
|
||||
*/
|
||||
PlayCustomGiftInfoEntity selectByGiftIdAndCustomId(String giftId,String customId);
|
||||
|
||||
/**
|
||||
* 查询顾客已点亮礼物
|
||||
*
|
||||
|
||||
@@ -27,6 +27,14 @@ public class PlayCustomGiftInfoServiceImpl extends ServiceImpl<PlayCustomGiftInf
|
||||
private PlayCustomGiftInfoMapper playCustomGiftInfoMapper;
|
||||
|
||||
|
||||
@Override
|
||||
public PlayCustomGiftInfoEntity selectByGiftIdAndCustomId(String giftId, String customId) {
|
||||
LambdaQueryWrapper<PlayCustomGiftInfoEntity> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.eq(PlayCustomGiftInfoEntity::getCustomId, customId);
|
||||
lambdaQueryWrapper.eq(PlayCustomGiftInfoEntity::getGiffId, giftId);
|
||||
return this.baseMapper.selectOne(lambdaQueryWrapper);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据店员ID查询店员活动礼物列表
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user