|
|
@ -417,7 +417,7 @@
|
|
|
|
and sb.type = #{type}
|
|
|
|
and sb.type = #{type}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="content != null and content != ''">
|
|
|
|
<if test="content != null and content != ''">
|
|
|
|
and sb.content = #{content}
|
|
|
|
and sb.content LIKE CONCAT('%', #{content}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by sb.create_time
|
|
|
|
order by sb.create_time
|
|
|
@ -444,7 +444,7 @@
|
|
|
|
and sb.type = #{type}
|
|
|
|
and sb.type = #{type}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="content != null and content != ''">
|
|
|
|
<if test="content != null and content != ''">
|
|
|
|
and sb.content = #{content}
|
|
|
|
and sb.content LIKE CONCAT('%', #{content}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="schoolId != null and schoolId != ''">
|
|
|
|
<if test="schoolId != null and schoolId != ''">
|
|
|
|
and sb.source in (#{schoolId},'管理员')
|
|
|
|
and sb.source in (#{schoolId},'管理员')
|
|
|
|