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

Commit 14dda551 authored by 胡佳晨's avatar 胡佳晨

修改 离线ar数据 券相关字段

parent 3f0ea228
...@@ -19,7 +19,7 @@ public class TempCouponDto implements Cloneable { ...@@ -19,7 +19,7 @@ public class TempCouponDto implements Cloneable {
@ApiModelProperty(position = 5, value = "优惠价格") @ApiModelProperty(position = 5, value = "优惠价格")
private BigDecimal value; private BigDecimal value;
@ApiModelProperty(position = 6, value = "券组id[领券用]") @ApiModelProperty(position = 6, value = "券组id[领券用]")
private String ucouponId; private String storeCouponId;
@ApiModelProperty(position = 7, value = "是否默认用券") @ApiModelProperty(position = 7, value = "是否默认用券")
private int isDefault; private int isDefault;
......
...@@ -19,7 +19,7 @@ public class TempCouponVo implements Cloneable{ ...@@ -19,7 +19,7 @@ public class TempCouponVo implements Cloneable{
@ApiModelProperty(position = 5, value = "优惠价格") @ApiModelProperty(position = 5, value = "优惠价格")
private BigDecimal value; private BigDecimal value;
@ApiModelProperty(position = 6, value = "券组id[领券用]") @ApiModelProperty(position = 6, value = "券组id[领券用]")
private String ucouponId; private String storeCouponId;
@ApiModelProperty(position = 7, value = "是否默认用券") @ApiModelProperty(position = 7, value = "是否默认用券")
private int isDefault; private int isDefault;
......
...@@ -44,9 +44,9 @@ public class GoblinInnerServiceImpl implements IGoblinInnerService { ...@@ -44,9 +44,9 @@ public class GoblinInnerServiceImpl implements IGoblinInnerService {
vo.setValue(data.getValue()); vo.setValue(data.getValue());
vo.setIsDefault(data.getIsDefault()); vo.setIsDefault(data.getIsDefault());
vo.setSpuIdList(spuList); vo.setSpuIdList(spuList);
vo.setUcouponId(data.getUcouponId()); vo.setStoreCouponId(data.getStoreCouponId());
redisUtils.addMarketTempCoupon(performanceId, vo.getUcouponId()); redisUtils.addMarketTempCoupon(performanceId, vo.getStoreCouponId());
redisUtils.setTempCoupon(vo.getUcouponId(), vo); redisUtils.setTempCoupon(vo.getStoreCouponId(), vo);
} }
})).sheet().doRead(); })).sheet().doRead();
} catch (Exception e) { } catch (Exception e) {
......
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