|
@@ -47,6 +47,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="sort" column="sort"/>
|
|
|
</resultMap>
|
|
|
|
|
|
+ <resultMap type="com.zhongzheng.modules.course.vo.CourseHandoutsVo" id="CourseHandoutsVoResult">
|
|
|
+ <result property="handoutsId" column="handouts_id"/>
|
|
|
+ <result property="status" column="status"/>
|
|
|
+ <result property="encoder" column="encoder"/>
|
|
|
+ <result property="canDownload" column="can_download"/>
|
|
|
+ <result property="url" column="url"/>
|
|
|
+ <result property="urlName" column="url_name"/>
|
|
|
+ <result property="handoutsName" column="handouts_name"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
<select id="findFileList" resultMap="CourseFileVoResult">
|
|
|
SELECT
|
|
|
cf.*
|
|
@@ -120,7 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
SELECT * from course_handouts where encoder = #{encoder} and tenant_id = #{newTenantId}
|
|
|
</select>
|
|
|
|
|
|
- <select id="queryByGoodsList" parameterType="com.zhongzheng.modules.course.bo.CourseHandoutsQueryBo" resultMap="CourseHandoutsResult">
|
|
|
+ <select id="queryByGoodsList" parameterType="com.zhongzheng.modules.course.bo.CourseHandoutsQueryBo" resultMap="CourseHandoutsVoResult">
|
|
|
SELECT
|
|
|
s.handouts_name,s.can_download,cf.*
|
|
|
FROM
|