Commit c04f41ad by 田超

Merge branch 'fixbug/fixgift' into 'master'

bug: [1025092] fixGift

See merge request rays/pcloud-book!898
parents 0f14388b 0facbeaa
......@@ -817,7 +817,6 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
fillProductAndApp(nowItems);
}
List<RightsNowItem> giftCouponPackItems = rightsNowItemDao.getGiftCouponListByRightsSettingId(rightsSetting.getId());
Iterator<RightsSettingTitle> iterator = rightsSettingTitles.iterator();
while (iterator.hasNext()) {
RightsSettingTitle rightsSettingTitle = iterator.next();
......@@ -825,6 +824,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
servesTitle = rightsSettingTitle;
iterator.remove();
}
List<RightsNowItem> giftCouponPackItems = rightsNowItemDao.getGiftCouponListByRightsSettingTitleId(rightsSettingTitle.getId());
if (RightsNowItemTypeNew.GIFT_COUPON_PACKAGE.value.equals(rightsSettingTitle.getRightsSettingNowType())) {
rightsSettingTitle.setRightsSettingItemList(giftCouponPackItems);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment