# 接口变更记录 — 2026-03-19 14:47

> **提交** `82130e6` · **作者** wx · **时间** 2026-03-19 14:47:31 +0800
>
> feat: 退款政策增加refund_type + 产品支持多退款政策绑定 + 节点类型DINING→RESTAURANT

## 变更总览


---

## 📦 其他数据对象变更

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

### 产品服务

#### ✏️ ItineraryNodeVO

  - ✏️ `nodeType`: 说明 "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)" → "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)/SERVICE(服务)/NOTE(备注)"

#### ✏️ NodeCreateRequest

  - ✏️ `nodeType`: 说明 "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)" → "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)/SERVICE(服务)/NOTE(备注)"

#### ✏️ NodeUpdateRequest

  - ✏️ `nodeType`: 说明 "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)" → "节点类型：TRANSPORT(交通)/SCENIC(景区)/RESTAURANT(餐厅)/ACTIVITY(活动)/PHOTOGRAPHY(摄影)/HOTEL(酒店)/FREE(自由活动)/CUSTOM(自定义)/SERVICE(服务)/NOTE(备注)"

#### ✏️ ProductCreateRequest

  - ✏️ `refundPolicyId`: 说明 "退款政策ID（关联退款政策模板）" → "退款政策ID（已废弃，用refundPolicyIds替代）"

#### ✏️ ProductSaveRequest

  - ✏️ `refundPolicyId`: 说明 "退款政策ID（关联退款政策模板）" → "退款政策ID（已废弃，用refundPolicyIds替代）"

#### ✏️ ProductUpdateRequest

  - ✏️ `refundPolicyId`: 说明 "退款政策ID（关联退款政策模板）" → "退款政策ID（已废弃，用refundPolicyIds替代）"

#### ✏️ ProductVO

  - ✏️ `refundPolicyId`: 说明 "退款政策ID" → "退款政策ID（已废弃，用refundPolicyIds替代）"
  - ✏️ `refundPolicyName`: 说明 "退款政策名称" → "退款政策名称（已废弃）"

### 订单服务

#### ✏️ RefundPolicyRequest

  - 🆕 `refundType` (`String`) — 退款类型（字典：refund_type）DEPOSIT(定金)/BALANCE(尾款)/FULL(全款)

#### ✏️ RefundPolicyVO

  - 🆕 `refundType` (`String`) — 退款类型（字典：refund_type）DEPOSIT(定金)/BALANCE(尾款)/FULL(全款)

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

```
A	"docs/\345\220\210\345\220\214  \350\264\246\345\217\267+\345\257\206\347\240\201.pdf"
M	hl-order-service/src/main/java/com/hulalv/order/dto/RefundPolicyRequest.java
M	hl-order-service/src/main/java/com/hulalv/order/entity/RefundPolicy.java
M	hl-order-service/src/main/java/com/hulalv/order/service/RefundPolicyService.java
M	hl-order-service/src/main/java/com/hulalv/order/vo/RefundPolicyVO.java
M	hl-product-service/src/main/java/com/hulalv/product/constant/ProductConstants.java
M	hl-product-service/src/main/java/com/hulalv/product/controller/ItineraryController.java
M	hl-product-service/src/main/java/com/hulalv/product/dto/NodeCreateRequest.java
M	hl-product-service/src/main/java/com/hulalv/product/dto/NodeUpdateRequest.java
M	hl-product-service/src/main/java/com/hulalv/product/dto/ProductCreateRequest.java
M	hl-product-service/src/main/java/com/hulalv/product/dto/ProductSaveRequest.java
M	hl-product-service/src/main/java/com/hulalv/product/dto/ProductUpdateRequest.java
M	hl-product-service/src/main/java/com/hulalv/product/entity/Product.java
M	hl-product-service/src/main/java/com/hulalv/product/service/ProductService.java
M	hl-product-service/src/main/java/com/hulalv/product/vo/ItineraryNodeVO.java
M	hl-product-service/src/main/java/com/hulalv/product/vo/ProductVO.java
M	hl-product-service/src/test/java/com/hulalv/product/constant/ProductConstantsTest.java
M	hl-product-service/src/test/java/com/hulalv/product/service/ItineraryNodeServiceTest.java
A	sql/alter_refund_policy_type.sql
M	sql/dict_product_node_type.sql
A	sql/seed_booking_warm.sql
```
</details>