|
@@ -91,7 +91,8 @@
|
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
|
<if test="isRead != null ">and is_read = #{isRead}</if>
|
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
|
- <if test="title != null and title != ''">and title = #{title}</if>
|
|
|
+ <if test="title != null and title != ''">and title like concat('%', #{title},
|
|
|
+ '%')</if>
|
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
|
<if test="lxrName != null and lxrName != ''">and lxr_name like concat('%', #{lxrName}, '%')</if>
|
|
|
<if test="lxrPhone != null and lxrPhone != ''">and lxr_phone = #{lxrPhone}</if>
|
|
@@ -154,7 +155,8 @@
|
|
|
<if test="topicType != null and topicType != ''">and s.topic_type = #{topicType}</if>
|
|
|
<if test="sqmyUserId != null ">and s.sqmy_user_id = #{sqmyUserId}</if>
|
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and s.sqmy_number = #{sqmyNumber}</if>
|
|
|
- <if test="title != null and title != ''">and s.title = #{title}</if>
|
|
|
+ <if test="title != null and title != ''">and s.title like concat('%', #{title},
|
|
|
+ '%')</if>
|
|
|
<if test="lxrName != null and lxrName != ''">and s.lxr_name like concat('%', #{lxrName}, '%')</if>
|
|
|
<if test="lxrPhone != null and lxrPhone != ''">and s.lxr_phone = #{lxrPhone}</if>
|
|
|
<if test="sqmyName != null and sqmyName != ''">and s.sqmy_name like concat('%', #{sqmyName}, '%')</if>
|
|
@@ -197,7 +199,8 @@
|
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
|
<if test="isRead != null ">and is_read = #{isRead}</if>
|
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
|
- <if test="title != null and title != ''">and title = #{title}</if>
|
|
|
+ <if test="title != null and title != ''">and title like concat('%', #{title},
|
|
|
+ '%')</if>
|
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
|
<if test="lxrName != null and lxrName != ''">and lxr_name like concat('%', #{lxrName}, '%')</if>
|
|
|
<if test="lxrPhone != null and lxrPhone != ''">and lxr_phone = #{lxrPhone}</if>
|