|
@@ -96,6 +96,18 @@
|
|
|
<if test="prefixName != null and prefixName != ''">
|
|
<if test="prefixName != null and prefixName != ''">
|
|
|
AND c.prefix_name like concat('%', #{prefixName}, '%')
|
|
AND c.prefix_name like concat('%', #{prefixName}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="courseName != null and courseName != ''">
|
|
|
|
|
+ AND c.course_name like concat('%', #{courseName}, '%')
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="publishStatus != null and publishStatus != ''">
|
|
|
|
|
+ AND c.publish_status = #{publishStatus}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="schoolId != null and schoolId != ''">
|
|
|
|
|
+ AND c.school_id = #{schoolId}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="majorId != null and majorId != ''">
|
|
|
|
|
+ AND c.major_id = #{majorId}
|
|
|
|
|
+ </if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectDetailById" parameterType="Long" resultMap="CourseResultVo">
|
|
<select id="selectDetailById" parameterType="Long" resultMap="CourseResultVo">
|