he2802 3 жил өмнө
parent
commit
5af4576975

+ 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,