mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:09:20 +08:00
feat: 订单管理商品规格选择器支持keywords模糊搜索及分页滚动
后端改动: - ProductFilterDTO: 新增keywords字段支持模糊搜索商品名称/编码/规格名称/编码 - ProductSpecFilterDTO: 新增keywords字段支持模糊搜索规格名称/编码 - ProductServiceImpl: keywords查询时同时搜索商品和关联规格 - ProductSpecServiceImpl: 修复keywords查询时必须携带productId约束,避免跨商品查询 前端改动: - 订单表单商品/规格选择器使用keywords字段搜索 - 支持无限滚动分页加载 - 商品搜索: 模糊匹配名称和编码 - 规格搜索: 仅限当前商品,模糊匹配名称和编码
This commit is contained in:
@@ -49,6 +49,8 @@ export namespace ProductSpecDTO {
|
||||
name?: string;
|
||||
/** 规格编码 */
|
||||
specCode?: string;
|
||||
/** 关键字(模糊查询规格名称、规格编码) */
|
||||
keywords?: string;
|
||||
}
|
||||
|
||||
/** 商品规格查询DTO(用于批量查询) */
|
||||
|
||||
@@ -93,6 +93,8 @@ export namespace ProductDTO {
|
||||
specCode?: string;
|
||||
/** 规格名称(模糊查询) */
|
||||
specName?: string;
|
||||
/** 关键字(模糊查询商品名称、商品编码、规格名称、规格编码) */
|
||||
keywords?: string;
|
||||
}
|
||||
|
||||
/** 商品规格过滤条件 */
|
||||
|
||||
Reference in New Issue
Block a user