feat(pricing): 添加查询接口并优化配置管理

- 新增多个查询接口,包括商品配置、阶梯配置和一口价配置的查询- 优化配置管理逻辑,支持 default 配置的创建和使用
- 重构部分代码,提高可维护性和可扩展性
This commit is contained in:
2025-08-15 14:54:31 +08:00
parent af5c59dc67
commit 688459d2da
13 changed files with 236 additions and 36 deletions

View File

@@ -0,0 +1,30 @@
package com.ycwl.basic.pricing.dto;
import lombok.Data;
/**
* 一口价套餐商品项DTO
*/
@Data
public class BundleProductItem {
/**
* 商品类型
*/
private String type;
/**
* 商品子类型(可选)
*/
private String subType;
/**
* 商品ID(可选)
*/
private String productId;
/**
* 数量
*/
private Integer quantity;
}

View File

@@ -20,12 +20,7 @@ public class ProductItem {
* 具体商品ID:vlog视频为具体视频ID,录像集/照相集为景区ID,打印为景区ID
*/
private String productId;
/**
* 商品子类型
*/
private String productSubType;
/**
* 数量(如原片数量、照片数量等)
*/