浏览代码

修复BUG

master
梁超 3 周前
父节点
当前提交
b4d19e05c7

+ 0
- 4
zhywpt-service-inss/src/main/java/cn/com/taiji/inss/manager/inst/InstOnlineActiveMananger.java 查看文件

@@ -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());

正在加载...
取消
保存