|
|
@@ -84,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="closeReason" column="close_reason"/>
|
|
|
<result property="joinLiveNum" column="join_live_num"/>
|
|
|
<result property="seeTime" column="see_time"/>
|
|
|
+ <result property="categoryName" column="category_name"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderGoodsQueryBo" resultMap="OrderGoodsResultVo">
|
|
|
@@ -156,11 +157,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
cg.official_learning_url,
|
|
|
cgu.learn_status,
|
|
|
cgu.official_status,
|
|
|
- cg.class_status
|
|
|
+ cg.class_status,
|
|
|
+ m.category_name,
|
|
|
FROM
|
|
|
order_goods og
|
|
|
LEFT JOIN class_grade cg on og.grade_id = cg.grade_id
|
|
|
LEFT JOIN goods g ON og.goods_id = g.goods_id
|
|
|
+ LEFT JOIN major m ON g.major_id = m.id
|
|
|
LEFT JOIN course_education_type cet ON g.education_type_id = cet.id
|
|
|
LEFT JOIN course_project_type cpt ON g.project_id = cpt.id
|
|
|
LEFT JOIN course_business cb ON g.business_id = cb.id
|