记得上下班打卡 | git大法好,push需谨慎

Commit 7b18a9e3 authored by 张国柄's avatar 张国柄

~店铺券:用户已领取计数调整;

parent 80a10bbe
......@@ -68,10 +68,8 @@ public class GoblinCouponController {
if (!CollectionUtils.isEmpty(userCouponVos))
for (GoblinStoreCouponVo storeCouponVo : storeCouponVos)
for (GoblinUserCouponVo userCouponVo : userCouponVos)
if (storeCouponVo.getStoreCouponId().equals(userCouponVo.getStoreCouponId())) {
if (storeCouponVo.getStoreCouponId().equals(userCouponVo.getStoreCouponId()))
storeCouponVo.setReceiveCount(storeCouponVo.getReceiveCount() + 1);
break;
}
}
}
return ResponseDto.success(storeCouponVos);
......
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