12/2
This commit is contained in:
@@ -35,5 +35,5 @@ public class LpkGiftCard {
|
|||||||
private String recordSid;
|
private String recordSid;
|
||||||
private String recordId;
|
private String recordId;
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
private Date bingDate;
|
private Date bindDate;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public class LpkGiftCardService extends MybatisBaseService<LpkGiftCardMapper, Lp
|
|||||||
}
|
}
|
||||||
lpkGiftCard.setCustomerSid(bindCardDto.getCustomerSid());
|
lpkGiftCard.setCustomerSid(bindCardDto.getCustomerSid());
|
||||||
lpkGiftCard.setState("3");
|
lpkGiftCard.setState("3");
|
||||||
lpkGiftCard.setBingDate(new Date());
|
lpkGiftCard.setBindDate(new Date());
|
||||||
baseMapper.updateById(lpkGiftCard);
|
baseMapper.updateById(lpkGiftCard);
|
||||||
return rb.success().setMsg("绑定成功");
|
return rb.success().setMsg("绑定成功");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user