Browse Source

fix 计费单商品

he2802 4 years ago
parent
commit
dc9d9f9372

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

@@ -126,7 +126,7 @@
 
     <select id="selectCourseList_COUNT" resultType="Long">
         SELECT
-            count(distinct c.section_id )
+            count(distinct c.course_id )
         FROM
             course c
         WHERE

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

@@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             csb.project_id,
             cet.education_name,
             cpt.project_name,
-            cb.business_name,
+            cb.business_name
         FROM
             course_streaming_business csb
             LEFT JOIN course_education_type cet ON csb.education_type_id = cet.id