|
|
@@ -409,7 +409,7 @@
|
|
|
where a.id <![CDATA[ <> ]]> '1'
|
|
|
and (a.status !='注销' or a.status is null)
|
|
|
<if test = "name != null">
|
|
|
- and a.name = #{name,jdbcType=VARCHAR}
|
|
|
+ and a.name like concat('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test = "departmentId != null">
|
|
|
and a.department_id = #{departmentId,jdbcType=VARCHAR}
|
|
|
@@ -445,7 +445,7 @@
|
|
|
where a.id <![CDATA[ <> ]]> '1'
|
|
|
and (a.status != '注销' or a.status is null)
|
|
|
<if test = "name != null">
|
|
|
- and a.name = #{name,jdbcType=VARCHAR}
|
|
|
+ and a.name like concat('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test = "departmentId != null">
|
|
|
and a.department_id = #{departmentId,jdbcType=VARCHAR}
|