增加租电套餐id字段

This commit is contained in:
2025-10-29 21:13:50 +08:00
parent 33c5e9db82
commit c67d0303b6
2 changed files with 8 additions and 2 deletions

View File

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

View File

@ -40,8 +40,11 @@
<select id="getCarModelByThireId" resultType="com.sczx.car.dto.CarModelPackageDTO"> <select id="getCarModelByThireId" resultType="com.sczx.car.dto.CarModelPackageDTO">
SELECT SELECT
car_rule_id, car_rule_id as carRuleId,
car_model_id car_model_id as carModelId,
battery_rule_id as batteryRuleId,
mt_product_id as mtProductId,
dy_product_id as dyProductId
FROM FROM
zc_car_model_package zc_car_model_package
<where> <where>