| | |
| | | List<Long> goodsIds = new ArrayList<>(); |
| | | List<Long> couponIds = new ArrayList<>(); |
| | | vipBenefits.getDetails().forEach(item -> { |
| | | if (StrUtil.isBlank(item.getContent())) { |
| | | return; |
| | | } |
| | | |
| | | if (item.getIsClick() == 2) { |
| | | return; |
| | | } |
| | |
| | | Map<Long, MallGoodsCoupon> couponMap = coupons.stream().collect(Collectors.toMap(MallGoodsCoupon::getId, MallGoodsCoupon -> MallGoodsCoupon)); |
| | | |
| | | vipBenefits.getDetails().forEach(item -> { |
| | | if (StrUtil.isBlank(item.getContent())) { |
| | | return; |
| | | } |
| | | |
| | | if (item.getIsClick() == 2) { |
| | | return; |
| | | } |
| | |
| | | <id property="id" column="c_id" /> |
| | | <result property="name" column="c_name" /> |
| | | <result property="icon" column="c_icon" /> |
| | | <result property="scoreMultiple" column="score_multiple" /> |
| | | <result property="gainType" column="gain_type" /> |
| | | |
| | | <collection property="details" ofType="cc.mrbird.febs.vip.entity.MallVipBenefitsDetails"> |
| | | <id property="id" column="d_id" /> |
| | |
| | | ,benefits.id c_id |
| | | ,benefits.name c_name |
| | | ,benefits.icon c_icon |
| | | ,benefits.score_multiple |
| | | ,benefits.gain_type |
| | | from mall_vip_config config |
| | | inner join mall_vip_config_benefits configBenefits on config.id=configBenefits.config_id |
| | | inner join mall_vip_benefits benefits on configBenefits.benefits_id=benefits.id |
| | |
| | | <select name="gainType" class="gain-type" lay-filter="gain-type-select"> |
| | | <option value="1">会员日</option> |
| | | <option value="2">会员生日</option> |
| | | <option value="3">其他</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | @Test |
| | | public void orderReturnTest() { |
| | | agentConsumer.getScoreMsg(212L); |
| | | agentConsumer.getScoreMsg(215L); |
| | | } |
| | | } |