|
@@ -195,6 +195,12 @@ public class ActivityController extends BaseController {
|
|
Map<String, String> categoryMap = vipGroupCategoryDao.findConditionCategorys().stream().collect(Collectors.toMap(e-> e.getId().toString(), ConditionDto::getName));
|
|
Map<String, String> categoryMap = vipGroupCategoryDao.findConditionCategorys().stream().collect(Collectors.toMap(e-> e.getId().toString(), ConditionDto::getName));
|
|
vipGroupActivity.setVipGroupCategoryNames(categoryMap.get(vipGroupActivity.getVipGroupCategoryIdList()));
|
|
vipGroupActivity.setVipGroupCategoryNames(categoryMap.get(vipGroupActivity.getVipGroupCategoryIdList()));
|
|
vipGroupActivity.setGiveCategoryName(categoryMap.get(vipGroupActivity.getGiveCategoryId()));
|
|
vipGroupActivity.setGiveCategoryName(categoryMap.get(vipGroupActivity.getGiveCategoryId()));
|
|
|
|
+ if (vipGroupActivity.getMemberRankId() != null) {
|
|
|
|
+ MemberRankSetting rankSetting = memberRankSettingService.get(vipGroupActivity.getMemberRankId());
|
|
|
|
+ if(rankSetting != null){
|
|
|
|
+ vipGroupActivity.setMemberRankName(rankSetting.getName());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
if (vipGroupActivity.getGiveMemberRankId() != null) {
|
|
if (vipGroupActivity.getGiveMemberRankId() != null) {
|
|
MemberRankSetting rankSetting = memberRankSettingService.get(vipGroupActivity.getGiveMemberRankId());
|
|
MemberRankSetting rankSetting = memberRankSettingService.get(vipGroupActivity.getGiveMemberRankId());
|
|
if(rankSetting != null){
|
|
if(rankSetting != null){
|