增加类型id
This commit is contained in:
parent
3057b9cf7c
commit
5af549321b
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue