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

Commit 6eab515c authored by 胡佳晨's avatar 胡佳晨

修改 离线券数据

parent ded15ca5
......@@ -22,6 +22,8 @@ public class TempCouponVo implements Cloneable{
private String storeCouponId;
@ApiModelProperty(position = 7, value = "是否默认用券")
private int isDefault;
@ApiModelProperty(position = 8, value = "券vo")
private GoblinStoreCouponVo vo;
private static final TempCouponVo obj = new TempCouponVo();
......
......@@ -67,6 +67,7 @@ public class GoblinInnerServiceImpl implements IGoblinInnerService {
List<String> ucouponIds = redisUtils.getMarketTempCoupon(performanceId);
for (String ucouponId : ucouponIds) {
TempCouponVo tempCouponVo = redisUtils.getTempCoupon(ucouponId);
tempCouponVo.setVo(redisUtils.getStoreCouponVo(tempCouponVo.getStoreCouponId()));
tempCouponVos.add(tempCouponVo);
}
vo.setTempCouponVos(tempCouponVos);
......
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