|
@@ -187,15 +187,6 @@ public class RegisterOrderDonServiceImpl extends ServiceImpl<RegisterOrderDonMap
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public CouponUserView spotifyUnLimit(SpotifyUnLimitRecord spotifyUnLimitRecord) {
|
|
public CouponUserView spotifyUnLimit(SpotifyUnLimitRecord spotifyUnLimitRecord) {
|
|
|
- RegisterOrderDon registerOrderDon = this.getOne(Wrappers.lambdaQuery(RegisterOrderDon.class)
|
|
|
|
|
- .eq(RegisterOrderDon::getUserId, spotifyUnLimitRecord.getUserId())
|
|
|
|
|
- .eq(RegisterOrderDon::getEmail, spotifyUnLimitRecord.getAccount())
|
|
|
|
|
- .eq(RegisterOrderDon::getPlatform, "spotify")
|
|
|
|
|
- .eq(RegisterOrderDon::getStatus, RegisterOrderDon.Status.complete)
|
|
|
|
|
- .last("limit 1"));
|
|
|
|
|
- if (registerOrderDon == null) {
|
|
|
|
|
- throw BusinessRuntimeException.getInstance("仅接受银河录像局注册成功的Spotify邮箱");
|
|
|
|
|
- }
|
|
|
|
|
Boolean isFlag = false;
|
|
Boolean isFlag = false;
|
|
|
Long spotifyUnLimitCouponId = null;
|
|
Long spotifyUnLimitCouponId = null;
|
|
|
//是否配置了优惠券
|
|
//是否配置了优惠券
|