Browse Source

fix 计费单商品

he2802 3 years ago
parent
commit
3a1a7ceb0a

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

@@ -57,7 +57,7 @@
         <collection property="goodsList" column="course_id" select="findGoodsList"/>
         <collection property="goodsList" column="course_id" select="findGoodsList"/>
     </resultMap>
     </resultMap>
 
 
-    <select id="findGoodsList" resultMap="CourseChapterSectionListResult">
+    <select id="findGoodsList" resultMap="CourseGoodsListResult">
         SELECT
         SELECT
             g.goods_name,
             g.goods_name,
             g.goods_id
             g.goods_id

+ 4 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseStreamingMapper.xml

@@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="playbackUrl" column="playback_url"/>
         <result property="playbackUrl" column="playback_url"/>
         <result property="status" column="status"/>
         <result property="status" column="status"/>
         <result property="polyvUrl" column="polyv_url"/>
         <result property="polyvUrl" column="polyv_url"/>
-        <collection property="businessList" javaType="java.util.List" resultMap="CourseStreamingBusinessResult"/>
+        <collection property="businessList" column="id" select="findBusinessList"/>
     </resultMap>
     </resultMap>
 
 
     <resultMap type="com.zhongzheng.modules.course.domain.CourseStreamingBusiness" id="CourseStreamingBusinessResult">
     <resultMap type="com.zhongzheng.modules.course.domain.CourseStreamingBusiness" id="CourseStreamingBusinessResult">
@@ -53,6 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="businessName" column="business_name"/>
         <result property="businessName" column="business_name"/>
     </resultMap>
     </resultMap>
 
 
+    <select id="findBusinessList" resultMap="CourseStreamingBusinessResult">
+
+    </select>
 
 
     <select id="selectList" parameterType="com.zhongzheng.modules.course.bo.CourseStreamingQueryBo" resultMap="CourseStreamingResultVo">
     <select id="selectList" parameterType="com.zhongzheng.modules.course.bo.CourseStreamingQueryBo" resultMap="CourseStreamingResultVo">
         SELECT
         SELECT