瀏覽代碼

fix 我的网课

he2802 3 年之前
父節點
當前提交
5af4576975
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

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

@@ -161,7 +161,7 @@
         <result property="period" column="period"/>
         <result property="makeStartTime" column="make_start_time"/>
         <result property="makeEndTime" column="make_end_time"/>
-        <result property="studyCount" column="study_count"/>
+        <result property="studyCount" column="order_study_count"/>
         <result property="makeGoodsName" column="make_goods_name"/>
         <result property="makeGoodsCode" column="make_goods_code"/>
         <result property="applyStatus" column="apply_status"/>
@@ -447,7 +447,7 @@
         SELECT
         g.*,
         o.user_id,
-        og.study_count,
+        og.study_count as order_study_count,
         og.order_goods_id,
         (SELECT cet.education_name FROM  course_education_type cet  where cet.id = g.education_type_id) as education_name,
         (SELECT cet.project_name FROM  course_project_type cet where cet.id = g.project_id) as project_name,