|
@@ -35,7 +35,7 @@
|
|
|
<if test="major != null and major != ''">and major like concat('%', #{major}, '%')</if>
|
|
|
<if test="title != null and title != ''"> and title like concat('%', #{title}, '%')</if>
|
|
|
<if test="keyword != null and keyword != ''">and keyword like concat('%', #{keyword}, '%')</if>
|
|
|
- <if test="replyTime != null and replyTime != ''">and reply_time = #{replyTime}</if>
|
|
|
+ <if test="replyTime != null ">and reply_time = #{replyTime}</if>
|
|
|
<if test="degree != null and degree != ''">and degree like concat('%', #{degree}, '%')</if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -58,7 +58,7 @@
|
|
|
<if test="major != null and major != ''">major,</if>
|
|
|
<if test="title != null and title != ''">title,</if>
|
|
|
<if test="keyword != null and keyword != ''">keyword,</if>
|
|
|
- <if test="replyTime != null and replyTime != ''">reply_time,</if>
|
|
|
+ <if test="replyTime != null">reply_time,</if>
|
|
|
<if test="degree != null and degree != ''">degree,</if>
|
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
|
<if test="createTime != null ">create_time,</if>
|
|
@@ -71,7 +71,7 @@
|
|
|
<if test="major != null and major != ''">#{major},</if>
|
|
|
<if test="title != null and title != ''">#{title},</if>
|
|
|
<if test="keyword != null and keyword != ''">#{keyword},</if>
|
|
|
- <if test="replyTime != null and replyTime != ''">#{replyTime},</if>
|
|
|
+ <if test="replyTime != null">#{replyTime},</if>
|
|
|
<if test="degree != null and degree != ''">#{degree},</if>
|
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
<if test="createTime != null ">#{createTime},</if>
|
|
@@ -97,7 +97,7 @@
|
|
|
<if test="major != null and major != ''">major = #{major},</if>
|
|
|
<if test="title != null and title != ''">title = #{title},</if>
|
|
|
<if test="keyword != null and keyword != ''">keyword = #{keyword},</if>
|
|
|
- <if test="replyTime != null and replyTime != ''">reply_time = #{replyTime},</if>
|
|
|
+ <if test="replyTime != null">reply_time = #{replyTime},</if>
|
|
|
<if test="degree != null and degree != ''">degree = #{degree},</if>
|
|
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null ">create_time = #{createTime},</if>
|