增加类型id

This commit is contained in:
s2042968 2025-02-24 17:17:14 +08:00
parent 3057b9cf7c
commit 5af549321b
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,8 @@ public class FileInfoVO {
private String parentId; private String parentId;
private String categoryId;
private Integer dataType; private Integer dataType;
private Integer dataStatus; private Integer dataStatus;

View File

@ -11,6 +11,7 @@
<result column="file_note" property="fileNote"/> <result column="file_note" property="fileNote"/>
<result column="file_version" property="fileVersion"/> <result column="file_version" property="fileVersion"/>
<result column="parent_id" property="parentId"/> <result column="parent_id" property="parentId"/>
<result column="category_id" property="categoryId"/>
<result column="data_type" property="dataType"/> <result column="data_type" property="dataType"/>
<result column="data_status" property="dataStatus"/> <result column="data_status" property="dataStatus"/>
<result column="save_status" property="saveStatus"/> <result column="save_status" property="saveStatus"/>
@ -29,7 +30,7 @@
</select> </select>
<select id="queryFileList" resultMap="FileInfoResultMap" > <select id="queryFileList" resultMap="FileInfoResultMap" >
SELECT * SELECT *, LEFT(file_code, 6 ) as category_id
FROM ed_file_info FROM ed_file_info
<where> <where>