feat: 文档库查询添加文档类型字段

- graphQL查询修改:添加type字段查询
- 视图模型字段更新:添加DocumentTypeView视图模型并为DocumentList类型添加type字段
- mapper更新: 添加DocumentType的转换方法
This commit is contained in:
2025-12-03 17:30:16 +08:00
parent 3fb721f278
commit c27337a145
4 changed files with 109 additions and 1 deletions

View File

@ -10,6 +10,13 @@ query GetDocumentList($locale: String!) {
id
title
}
type {
id
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
id
name
}
}
products {
id
products_id {