1、文档新增字段
This commit is contained in:
@@ -48,6 +48,36 @@ public class AiCloudFile implements Serializable {
|
||||
@Schema(description = "文件扩展名")
|
||||
private String fileExt;
|
||||
|
||||
@Schema(description = "制度标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "发文字号")
|
||||
private String issueNumber;
|
||||
|
||||
@Schema(description = "版本号")
|
||||
private String version;
|
||||
|
||||
@Schema(description = "成文日期")
|
||||
private String documentDate;
|
||||
|
||||
@Schema(description = "生效日期")
|
||||
private String effectiveDate;
|
||||
|
||||
@Schema(description = "废止日期")
|
||||
private String abolishDate;
|
||||
|
||||
@Schema(description = "适用业务范围")
|
||||
private String businessScope;
|
||||
|
||||
@Schema(description = "关联制度")
|
||||
private String relatedDocuments;
|
||||
|
||||
@Schema(description = "适用区域")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "上传时间")
|
||||
private LocalDateTime uploadTime;
|
||||
|
||||
@@ -73,4 +103,4 @@ public class AiCloudFile implements Serializable {
|
||||
@Schema(description = "修改时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,36 @@
|
||||
<if test="param.fileExt != null and param.fileExt != ''">
|
||||
AND a.file_ext = #{param.fileExt}
|
||||
</if>
|
||||
<if test="param.title != null and param.title != ''">
|
||||
AND a.title LIKE CONCAT('%', #{param.title}, '%')
|
||||
</if>
|
||||
<if test="param.issueNumber != null and param.issueNumber != ''">
|
||||
AND a.issue_number LIKE CONCAT('%', #{param.issueNumber}, '%')
|
||||
</if>
|
||||
<if test="param.version != null and param.version != ''">
|
||||
AND a.version LIKE CONCAT('%', #{param.version}, '%')
|
||||
</if>
|
||||
<if test="param.documentDate != null and param.documentDate != ''">
|
||||
AND a.document_date LIKE CONCAT('%', #{param.documentDate}, '%')
|
||||
</if>
|
||||
<if test="param.effectiveDate != null and param.effectiveDate != ''">
|
||||
AND a.effective_date LIKE CONCAT('%', #{param.effectiveDate}, '%')
|
||||
</if>
|
||||
<if test="param.abolishDate != null and param.abolishDate != ''">
|
||||
AND a.abolish_date LIKE CONCAT('%', #{param.abolishDate}, '%')
|
||||
</if>
|
||||
<if test="param.businessScope != null and param.businessScope != ''">
|
||||
AND a.business_scope LIKE CONCAT('%', #{param.businessScope}, '%')
|
||||
</if>
|
||||
<if test="param.relatedDocuments != null and param.relatedDocuments != ''">
|
||||
AND a.related_documents LIKE CONCAT('%', #{param.relatedDocuments}, '%')
|
||||
</if>
|
||||
<if test="param.region != null and param.region != ''">
|
||||
AND a.region LIKE CONCAT('%', #{param.region}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null and param.comments != ''">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.uploadTimeStart != null">
|
||||
AND a.upload_time >= #{param.uploadTimeStart}
|
||||
</if>
|
||||
@@ -70,4 +100,4 @@
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -48,6 +48,36 @@ public class AiCloudFileParam extends BaseParam {
|
||||
@Schema(description = "文件扩展名")
|
||||
private String fileExt;
|
||||
|
||||
@Schema(description = "制度标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "发文字号")
|
||||
private String issueNumber;
|
||||
|
||||
@Schema(description = "版本号")
|
||||
private String version;
|
||||
|
||||
@Schema(description = "成文日期")
|
||||
private String documentDate;
|
||||
|
||||
@Schema(description = "生效日期")
|
||||
private String effectiveDate;
|
||||
|
||||
@Schema(description = "废止日期")
|
||||
private String abolishDate;
|
||||
|
||||
@Schema(description = "适用业务范围")
|
||||
private String businessScope;
|
||||
|
||||
@Schema(description = "关联制度")
|
||||
private String relatedDocuments;
|
||||
|
||||
@Schema(description = "适用区域")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "上传时间开始")
|
||||
private LocalDateTime uploadTimeStart;
|
||||
|
||||
@@ -71,4 +101,4 @@ public class AiCloudFileParam extends BaseParam {
|
||||
|
||||
@Schema(description = "关键词搜索")
|
||||
private String keywords;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user