租电套餐

This commit is contained in:
2025-10-29 21:15:15 +08:00
parent fcc5640738
commit 935cc17333
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import javax.validation.constraints.NotNull;
public class VerifyGroupBuyCouponsReq { public class VerifyGroupBuyCouponsReq {
@NotEmpty(message = "券码类型不能为空") @NotEmpty(message = "券码类型不能为空")
@ApiModelProperty(value = "券码类型:美团MT,抖音DY") @ApiModelProperty(value = "券码类型:美团'MT',抖音'DY'")
private String couponType; private String couponType;
@NotEmpty(message = "券码不能为空") @NotEmpty(message = "券码不能为空")

View File

@ -146,7 +146,7 @@ public class OrderServiceImpl implements OrderService {
thirdRentCarOrder.setCustomerPhone(userInfoDTO.getPhoneNumber()); thirdRentCarOrder.setCustomerPhone(userInfoDTO.getPhoneNumber());
thirdRentCarOrder.setThirdOrderNo(productIdMap.get("mtOrderId")); thirdRentCarOrder.setThirdOrderNo(productIdMap.get("mtOrderId"));
thirdRentCarOrder.setCouponCode(req.getCouponCode()); thirdRentCarOrder.setCouponCode(req.getCouponCode());
thirdRentCarOrder.setRentBatteyRuleId(carModelPackageDTO.getBatteyRuleId()); thirdRentCarOrder.setRentBatteyRuleId(carModelPackageDTO.getBatteryRuleId());
RentCarOrderResultDTO rentCarOrderResultDTO = thirdPlatformRentCarOrder(thirdRentCarOrder); RentCarOrderResultDTO rentCarOrderResultDTO = thirdPlatformRentCarOrder(thirdRentCarOrder);
return rentCarOrderResultDTO; return rentCarOrderResultDTO;
@ -211,7 +211,7 @@ public class OrderServiceImpl implements OrderService {
thirdRentCarOrder.setCustomerPhone(userInfoDTO.getPhoneNumber()); thirdRentCarOrder.setCustomerPhone(userInfoDTO.getPhoneNumber());
thirdRentCarOrder.setThirdOrderNo(productIdMap.get("dyCertificateId")); thirdRentCarOrder.setThirdOrderNo(productIdMap.get("dyCertificateId"));
thirdRentCarOrder.setCouponCode(productIdMap.get("dyVerifyId")); thirdRentCarOrder.setCouponCode(productIdMap.get("dyVerifyId"));
thirdRentCarOrder.setRentBatteyRuleId(carModelPackageDTO.getBatteyRuleId()); thirdRentCarOrder.setRentBatteyRuleId(carModelPackageDTO.getBatteryRuleId());
RentCarOrderResultDTO rentCarOrderResultDTO = thirdPlatformRentCarOrder(thirdRentCarOrder); RentCarOrderResultDTO rentCarOrderResultDTO = thirdPlatformRentCarOrder(thirdRentCarOrder);

View File

@ -16,7 +16,7 @@ public class CarModelPackageDTO {
private Long carRuleId; private Long carRuleId;
@ApiModelProperty("租电套餐ID") @ApiModelProperty("租电套餐ID")
private Long batteyRuleId; private Long batteryRuleId;
@ApiModelProperty("美团商品ID") @ApiModelProperty("美团商品ID")
private String mtProductId; private String mtProductId;