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

Commit 65a64a6e authored by 张国柄's avatar 张国柄

fix:兑换券bind_at赋值调整;

parent 03d9755f
......@@ -131,7 +131,7 @@ public class CandyUserCouponBasicDto implements Serializable, Cloneable {
this.setCcode(cCode);
this.setState(1);
this.setBindAt(LocalDateTime.now());
this.setBindAt(couponInfoDto.getEffectAt());
this.setDuedAt(duedAt);
this.setUseRules(couponInfoDto.getUseRules());
......
......@@ -482,7 +482,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
LinkedList<Object[]> objsUserCoupon = CollectionUtil.linkedListObjectArr(),
objsCouponCode = CollectionUtil.linkedListObjectArr();
toMqSqls.add(SqlMapping.get("candy_coupon.receive"));
objsUserCoupon.add(new Object[]{uCouponId, uid, 1, infoDto.getCouponId(), ccode, now, now, infoDto.getExpireAt()});
objsUserCoupon.add(new Object[]{uCouponId, uid, 1, infoDto.getCouponId(), ccode, infoDto.getEffectAt(), now, infoDto.getExpireAt()});
toMqSqls.add(SqlMapping.get("candy_coupon_code.receive"));// state:状态[0-可用|1-已用]
objsCouponCode.add(new Object[]{1, uCouponId, uid, mobile, now, now, dto.getCouponId(), ccode});
queueUtils.sendMsgByRedis(
......
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