feat: 相关问题查询添加问题类型查询

- 查询语句更改:添加type字段
- mapper增添:添加type字段的mapper
- 视图模型更改:QuestionListView添加type字段
This commit is contained in:
2025-12-03 15:53:20 +08:00
parent c82fea48b8
commit f4ec82a150
4 changed files with 110 additions and 1 deletions

View File

@ -7,6 +7,18 @@ export interface QuestionListProductType {
name: string;
}
/**
* 问题类型
* 用于在常见问题列表中提供产品筛选功能
*/
export interface QuestionTypeView {
/** 唯一标识符 **/
id: string;
/** 类型名 **/
type: string;
}
/**
* 问题关联产品模型
* 用于在常见问题列表中提供产品筛选功能
@ -25,6 +37,9 @@ export interface QuestionListView {
/** 唯一标识符 **/
id: string;
/** 问题类型 **/
type: QuestionTypeView;
/** 问题标题 **/
title: string;