|
@@ -56,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="liveUrl" column="live_url"/>
|
|
|
<result property="teacherName" column="teacher_name"/>
|
|
|
<result property="goodsId" column="goods_id"/>
|
|
|
+ <result property="commonSign" column="common_sign"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="getList" parameterType="com.zhongzheng.modules.course.bo.CourseMenuQueryBo" resultMap="CourseMenuResultVo">
|
|
@@ -152,6 +153,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
cs.`name`
|
|
|
END menu_name,
|
|
|
CASE
|
|
|
+ WHEN m.type = 1 THEN
|
|
|
+ 0
|
|
|
+ WHEN m.type = 2 THEN
|
|
|
+ cc.common_sign
|
|
|
+ WHEN m.type = 3 THEN
|
|
|
+ 0
|
|
|
+ END common_sign,
|
|
|
+ CASE
|
|
|
|
|
|
WHEN m.type = 1 THEN
|
|
|
0
|