mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
资源分类可选
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
<mapper namespace="xyz.playedu.api.mapper.ResourceMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="xyz.playedu.api.domain.Resource">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<id property="id" column="id" jdbcType="INTEGER"/>
|
||||
<result property="type" column="type" jdbcType="VARCHAR"/>
|
||||
<result property="categoryId" column="category_id" jdbcType="INTEGER"/>
|
||||
<result property="name" column="name" jdbcType="VARCHAR"/>
|
||||
<result property="extension" column="extension" jdbcType="VARCHAR"/>
|
||||
@@ -18,9 +19,9 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,category_id,name,
|
||||
extension,size,disk,
|
||||
file_id,path,url,
|
||||
created_at
|
||||
id,type,category_id,
|
||||
name,extension,size,
|
||||
disk,file_id,path,
|
||||
url,created_at
|
||||
</sql>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user