|
@@ -61,7 +61,7 @@
|
|
</if>
|
|
</if>
|
|
LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = a.dept_id
|
|
LEFT JOIN ${database_system}.sys_dept d ON d.dept_id = a.dept_id
|
|
<where>
|
|
<where>
|
|
- <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
|
|
|
|
|
|
+ <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if>
|
|
<if test="mapAddress != null and mapAddress != ''">and map_address = #{mapAddress}</if>
|
|
<if test="mapAddress != null and mapAddress != ''">and map_address = #{mapAddress}</if>
|
|
<if test="mapData != null and mapData != ''">and map_data like concat('%', #{mapData}, '%')</if>
|
|
<if test="mapData != null and mapData != ''">and map_data like concat('%', #{mapData}, '%')</if>
|
|
<if test="mapName != null and mapName != ''">and map_name like concat('%', #{mapName}, '%')</if>
|
|
<if test="mapName != null and mapName != ''">and map_name like concat('%', #{mapName}, '%')</if>
|