新增:文件上传表companyId字段

This commit is contained in:
gxwebsoft
2024-02-04 14:29:57 +08:00
parent 3b234017cb
commit 4f9eaab0e2
3 changed files with 13 additions and 3 deletions

View File

@@ -45,6 +45,9 @@ public class FileRecord implements Serializable {
@ApiModelProperty("应用ID")
private Integer appId;
@ApiModelProperty("企业ID")
private Integer companyId;
@ApiModelProperty("创建人")
private Integer createUserId;

View File

@@ -20,9 +20,12 @@
<if test="param.path != null">
AND a.path LIKE CONCAT('%', #{param.path}, '%')
</if>
<if test="param.appId != null">
AND a.app_id = #{param.appId}
</if>
<if test="param.appId != null">
AND a.app_id = #{param.appId}
</if>
<if test="param.companyId != null">
AND a.company_id = #{param.companyId}
</if>
<if test="param.createUserId != null">
AND a.create_user_id = #{param.createUserId}
</if>

View File

@@ -42,6 +42,10 @@ public class FileRecordParam extends BaseParam {
@ApiModelProperty("应用ID")
private Integer appId;
@QueryField(type = QueryType.EQ)
@ApiModelProperty("企业ID")
private Integer companyId;
@QueryField(type = QueryType.EQ)
@ApiModelProperty("创建人")
private Integer createUserId;