# 接口变更记录 — 2026-04-13 15:37

> **提交** `42544063` · **作者** wx · **时间** 2026-04-13 15:37:43 +0800
>
> refactor(product-v2): 去掉全部version乐观锁机制

## 变更总览

- **hl-product-service-v2**
  - ❌ AdminProductTest (-0 接口)

---

## 📦 其他数据对象变更

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

### hl-product-service-v2

#### ✏️ PriceCalendarBatchReqVO

  - ❌ ~~`version`~~ (`Integer`) — 版本号(草稿用version/已上架用priceVersion)

#### ✏️ ProductBasicSaveReqVO

  - ❌ ~~`version`~~ (`Integer`) — 乐观锁版本号（更新时必传，创建时不传）

#### ✏️ ProductDetailRespVO

  - ❌ ~~`version`~~ (`Integer`) — 乐观锁版本号
  - ❌ ~~`priceVersion`~~ (`Integer`) — 调价版本号

#### ✏️ ProductItinerarySaveReqVO

  - ❌ ~~`version`~~ (`Integer`) — 乐观锁版本号

#### ✏️ ProductListRespVO

  - ❌ ~~`version`~~ (`Integer`) — 版本号(乐观锁)

#### ✏️ ProductRouteSaveReqVO

  - ❌ ~~`version`~~ (`Integer`) — 乐观锁版本号

#### ✏️ ProductSupplementSaveReqVO

  - ❌ ~~`version`~~ (`Integer`) — 乐观锁版本号

#### ❌ ~~VoCoverageTest2~~

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

```
M	hl-product-service-v2/src/main/java/com/hulalv/product/controller/admin/AdminProductController.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/admin/ProductBasicService.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/admin/ProductItineraryService.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/admin/ProductLineService.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/admin/ProductRouteService.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/service/admin/ProductSupplementService.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/ProductBasicSaveReqVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/ProductDetailRespVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/ProductItinerarySaveReqVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/ProductListRespVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/ProductRouteSaveReqVO.java
M	hl-product-service-v2/src/main/java/com/hulalv/product/vo/admin/ProductSupplementSaveReqVO.java
D	hl-product-service-v2/src/test/java/com/hulalv/product/controller/admin/AdminProductControllerTest.java
D	hl-product-service-v2/src/test/java/com/hulalv/product/entity/EntityCoverageTest2.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductBasicServiceTest.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductHelperServiceTest.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductItineraryServiceTest.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductLineServiceTest.java
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/admin/ProductRouteServiceTest.java
M	hl-product-service-v2/src/test/java/com/hulalv/product/service/admin/ProductSupplementServiceTest.java
D	hl-product-service-v2/src/test/java/com/hulalv/product/vo/admin/VoCoverageTest2.java
```
</details>