|
|
|
@@ -9,33 +9,20 @@ import com.accompany.business.model.activity.h5.ActivityH5LevelAward;
|
|
|
|
|
import com.accompany.business.model.dress.ChatBubble;
|
|
|
|
|
import com.accompany.business.model.dress.InfoCard;
|
|
|
|
|
import com.accompany.business.model.dress.PersonalBackground;
|
|
|
|
|
import com.accompany.business.model.dress.UserPersonalBackground;
|
|
|
|
|
import com.accompany.business.model.vip.VipInfo;
|
|
|
|
|
import com.accompany.business.mybatismapper.NameplateMapper;
|
|
|
|
|
import com.accompany.business.mybatismapper.activity.h5.ActivityH5LevelAwardMapper;
|
|
|
|
|
import com.accompany.business.param.ActivityH5Param;
|
|
|
|
|
import com.accompany.business.service.car.CarGoodsService;
|
|
|
|
|
import com.accompany.business.service.car.CarPayService;
|
|
|
|
|
import com.accompany.business.service.dress.*;
|
|
|
|
|
import com.accompany.business.service.dress.InfoCardService;
|
|
|
|
|
import com.accompany.business.service.dress.PersonalBackgroundService;
|
|
|
|
|
import com.accompany.business.service.gift.GiftService;
|
|
|
|
|
import com.accompany.business.service.headwear.HeadwearService;
|
|
|
|
|
import com.accompany.business.service.medal.MedalService;
|
|
|
|
|
import com.accompany.business.service.medal.UserMedalService;
|
|
|
|
|
import com.accompany.business.service.nameplate.UserNameplateService;
|
|
|
|
|
import com.accompany.business.service.purse.UserPurseService;
|
|
|
|
|
import com.accompany.business.service.user.UserBackpackService;
|
|
|
|
|
import com.accompany.business.service.vip.ChatBubbleService;
|
|
|
|
|
import com.accompany.business.service.vip.VipInfoService;
|
|
|
|
|
import com.accompany.business.service.vip.VipLevelBizService;
|
|
|
|
|
import com.accompany.business.vo.activity.h5.ActivityH5LevelAwardVo;
|
|
|
|
|
import com.accompany.common.config.SystemConfig;
|
|
|
|
|
import com.accompany.common.constant.Constant;
|
|
|
|
|
import com.accompany.common.status.BusiStatus;
|
|
|
|
|
import com.accompany.common.utils.DateTimeUtil;
|
|
|
|
|
import com.accompany.core.base.SpringContextHolder;
|
|
|
|
|
import com.accompany.core.enumeration.BillObjTypeEnum;
|
|
|
|
|
import com.accompany.core.exception.AdminServiceException;
|
|
|
|
|
import com.accompany.core.exception.ServiceException;
|
|
|
|
|
import com.accompany.core.enumeration.PartitionEnum;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
@@ -43,12 +30,9 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import com.accompany.business.common.constant.RewardTypeEnum;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
@@ -64,43 +48,24 @@ import java.util.Map;
|
|
|
|
|
public class ActivityH5LevelAwardServiceImpl extends ServiceImpl<ActivityH5LevelAwardMapper, ActivityH5LevelAward> implements ActivityH5LevelAwardService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private ActivityH5LevelExpService activityH5LevelExpService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private GiftService giftService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserBackpackService userBackpackService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private NameplateMapper nameplateMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserNameplateService userNameplateService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private ChatBubbleService chatBubbleService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserChatBubbleService userChatBubbleService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private HeadwearService headwearService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private CarGoodsService carGoodsService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private CarPayService carPayService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private InfoCardService infoCardService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserInfoCardService userInfoCardService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private VipInfoService vipInfoService;
|
|
|
|
|
@Autowired
|
|
|
|
|
@Lazy
|
|
|
|
|
private UserPurseService userPurseService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private MedalService medalService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserMedalService userMedalService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private PersonalBackgroundService personalBackgroundService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserPersonalBackgroundService userPersonalBackgroundService;
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public IPage<ActivityH5LevelAwardVo> listPage(ActivityH5Param param) {
|
|
|
|
@@ -138,6 +103,9 @@ public class ActivityH5LevelAwardServiceImpl extends ServiceImpl<ActivityH5Level
|
|
|
|
|
activityH5LevelAwardVo.setAwardName(rewardVo.getName());
|
|
|
|
|
activityH5LevelAwardVo.setAwardPic(rewardVo.getPic());
|
|
|
|
|
}
|
|
|
|
|
RewardTypeEnum byRewardType = RewardTypeEnum.getByRewardType(record.getAwardType());
|
|
|
|
|
activityH5LevelAwardVo.setAwardTypeName(byRewardType.getDesc());
|
|
|
|
|
activityH5LevelAwardVo.setPartitionDesc(PartitionEnum.getByPartitionId(record.getPartitionId()).getDesc());
|
|
|
|
|
resultList.add(activityH5LevelAwardVo);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|