|
|
@ -441,7 +441,7 @@
|
|
|
|
s.one_id = #{oneId}
|
|
|
|
s.one_id = #{oneId}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="title != null and title != ''">
|
|
|
|
<if test="title != null and title != ''">
|
|
|
|
and s.title = #{title}
|
|
|
|
and s.title LIKE CONCAT('%', #{title}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="source != null and source != ''">
|
|
|
|
<if test="source != null and source != ''">
|
|
|
|
and s.source in('管理员',source)
|
|
|
|
and s.source in('管理员',source)
|
|
|
@ -456,7 +456,7 @@
|
|
|
|
<select id="selectCaseByConditionsByBind" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
<select id="selectCaseByConditionsByBind" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
select st.*,s.title,s.content,s.resource_data,s.source,s.type,s.unmount_status,s.create_time
|
|
|
|
select st.*,s.title,s.content,s.resource_data,s.source,s.type,s.unmount_status,s.create_time
|
|
|
|
from sys_case_questions s
|
|
|
|
from sys_case_questions s
|
|
|
|
join sys_topic_and_course st
|
|
|
|
left join sys_topic_and_course st
|
|
|
|
on s.case_id = st.topic_id
|
|
|
|
on s.case_id = st.topic_id
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="title != null and title != ''">
|
|
|
|
<if test="title != null and title != ''">
|
|
|
|