|
@@ -21,11 +21,12 @@
|
|
|
<select id="selectSysMatterVo" resultMap="MatterResult">
|
|
|
select id,title, type, department,operation,address,phone,picture,examine ,content from jnb_list_of_matters
|
|
|
<where>
|
|
|
+
|
|
|
<if test="title != null and title !=''">
|
|
|
- AND title LIKE '%' #{title} '%'
|
|
|
+ AND title LIKE concat('%', #{title}, '%')
|
|
|
</if>
|
|
|
<if test="examine != null and examine !=''">
|
|
|
- AND examine LIKE '%' #{examine} '%'
|
|
|
+ AND examine LIKE concat('%', #{examine}, '%')
|
|
|
</if>
|
|
|
<if test="department != null and department !=''">
|
|
|
AND department = #{department}
|