|
|
@@ -342,15 +342,13 @@
|
|
|
left join district_glossory dg3 on b.location_area = dg3.id
|
|
|
left join admin d on a.aid = d.id
|
|
|
where a.type = 1 and a.status != 1
|
|
|
+ and a.identify_name = #{name}
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="departmentId != null and departmentId !=''">
|
|
|
and d.department_id=#{departmentId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="name != null and name != ''">
|
|
|
- and a.identify_name like concat('%',#{name},'%')
|
|
|
- </if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
and a.transfer_time > #{startDate}
|
|
|
</if>
|
|
|
@@ -381,13 +379,10 @@
|
|
|
where department_id=#{departmentId,jdbcType=VARCHAR}) d on a.aid = d.id
|
|
|
</if>
|
|
|
where a.type = 1 and a.status != 1
|
|
|
+ and a.identify_name = #{name}
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
-
|
|
|
- <if test="name != null and name != ''">
|
|
|
- and a.identify_name like concat('%',#{name},'%')
|
|
|
- </if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
and a.transfer_time > #{startDate}
|
|
|
</if>
|