表字段新增-AI云文档目录表添加项目ID字段

This commit is contained in:
2026-05-20 09:25:18 +08:00
parent 0e5956bdd0
commit d129029178
3 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ public class AiCloudDoc implements Serializable {
@Schema(description = "云目录ID")
private String categoryId;
@Schema(description = "项目ID")
private Integer projectId;
@Schema(description = "单位ID")
private Integer companyId;

View File

@@ -13,6 +13,9 @@
<if test="param.categoryId != null">
AND a.category_id = #{param.categoryId}
</if>
<if test="param.projectId != null">
AND a.project_id = #{param.projectId}
</if>
<if test="param.companyId != null">
AND a.company_id = #{param.companyId}
</if>

View File

@@ -27,6 +27,10 @@ public class AiCloudDocParam extends BaseParam {
@Schema(description = "云目录ID")
@QueryField(type = QueryType.EQ)
private String categoryId;
@Schema(description = "项目ID")
@QueryField(type = QueryType.EQ)
private Integer projectId = 0;
@Schema(description = "单位ID")
@QueryField(type = QueryType.EQ)