|
|
@@ -404,8 +404,6 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager { |
|
|
|
cardInfo.setCardStatus(CardStatus.ZC); |
|
|
|
cardInfo.setCardStatusChangeTime(LocalDateTime.now()); |
|
|
|
cardInfo.setPackageType(0); |
|
|
|
// TODO 需要加入套餐 |
|
|
|
// FIXME 确定是否沿用packageId 考虑是否添加productId |
|
|
|
cardInfo.setPackageId(orderInfo.getProductId()); |
|
|
|
cardInfo.setCardNetId(vo.getNetId()); |
|
|
|
cardInfo.setUpdateTime(LocalDateTime.now()); |
|
|
@@ -415,8 +413,6 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager { |
|
|
|
cardInfo.setCardVersion(DeviceVersion.getVersion(vo.getCardVersion())); |
|
|
|
cardInfo.setVehicleId(vehicleInfo.getVehicleId()); |
|
|
|
cardInfo.setCardIssuedType(orderInfo.getPromotionModes()); |
|
|
|
// FIXME 注意时间格式 若请求中的时间格式乱传,则数据会很混乱 |
|
|
|
// FIXME 应当在接口入参处添加时间格式校验 |
|
|
|
cardInfo.setUpdateTime(LocalDateTime.now()); |
|
|
|
cardInfo.setInsertTime(LocalDateTime.now()); |
|
|
|
IssueProduct product = productRepo.findByReleaseId(orderInfo.getProductId()); |