# 接口变更记录 — 2026-04-13 18:20

> **提交** `5f52751f` · **作者** wx · **时间** 2026-04-13 18:20:07 +0800
>
> refactor(product-v2): 价格日历改为租费+酒店分类定价（4种人群）

## 📦 其他数据对象变更

> 以下变更未直接关联到本次接口变更，但可能影响现有接口的请求/响应

### hl-product-service-v2

#### ✏️ MpPriceCalendarRespVO

  - 🆕 `toddlerPrice` (`BigDecimal`) — 小童售价(租费+酒店)
  - 🆕 `infantPrice` (`BigDecimal`) — 幼童售价(租费+酒店)
  - ✏️ `adultPrice`: 说明 "成人售价" → "成人售价(租费+酒店)"
  - ✏️ `childPrice`: 说明 "儿童售价" → "儿童售价(租费+酒店)"

#### ✏️ PriceCalendarBatchReqVO

  - 🆕 `vehicleAdultPrice` (`BigDecimal`) — 租费-成人售价
  - 🆕 `vehicleChildPrice` (`BigDecimal`) — 租费-儿童售价
  - 🆕 `vehicleToddlerPrice` (`BigDecimal`) — 租费-小童售价
  - 🆕 `vehicleInfantPrice` (`BigDecimal`) — 租费-幼童售价
  - 🆕 `hotelAdultPrice` (`BigDecimal`) — 酒店-成人售价
  - 🆕 `hotelChildPrice` (`BigDecimal`) — 酒店-儿童售价
  - 🆕 `hotelToddlerPrice` (`BigDecimal`) — 酒店-小童售价
  - 🆕 `hotelInfantPrice` (`BigDecimal`) — 酒店-幼童售价
  - ❌ ~~`adultSellPrice`~~ (`BigDecimal`) — 成人售价
  - ❌ ~~`childSellPrice`~~ (`BigDecimal`) — 儿童售价
  - ❌ ~~`toddlerDiscount`~~ (`BigDecimal`) — 小童优惠额(负数)
  - ❌ ~~`infantPrice`~~ (`BigDecimal`) — 幼童售价(0=免费)
  - ✏️ `priceType`: 说明 "价格类型(NORMAL/PEAK/HOLIDAY/SPECIAL)" → "价格类型(字典price_type: NORMAL=平日, PEAK=旺季, HOLIDAY=节假日, SPECIAL=特价)"

#### ✏️ QuoteResultVO

  - 🆕 `totalToddlerPrice` (`BigDecimal`) — 小童总价
  - 🆕 `totalInfantPrice` (`BigDecimal`) — 幼童总价
  - 🆕 `toddlerPrice` (`BigDecimal`) — 小童日价(租费+酒店)
  - 🆕 `infantPrice` (`BigDecimal`) — 幼童日价(租费+酒店)
  - ✏️ `adultPrice`: 说明 "成人价" → "成人日价(租费+酒店)"
  - ✏️ `childPrice`: 说明 "儿童价" → "儿童日价(租费+酒店)"

<details>
<summary>📁 全部变更文件 (点击展开)</summary>

```
M	hl-product-service-v2/src/main/java/com/hulalv/product/entity/ProductPriceCalendarDO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/admin/ProductPricingService.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/mp/MpProductService.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/PriceCalendarBatchReqVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/QuoteResultVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/mp/MpPriceCalendarRespVO.java
M	hl-product-service-v2/src/main/resources/mapper/ProductMapper.xml
M	hl-product-service-v2/src/main/resources/mapper/ProductPriceCalendarMapper.xml
M	hl-product-service-v2/src/main/resources/schema.sql
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductPricingServiceTest.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/mp/MpProductServiceTest.java
```
</details>