|
|
@@ -1189,8 +1189,8 @@ create_time = values(create_time)
|
|
|
left join admin c on b.task_receiver=c.id
|
|
|
left join t_order_mid d on b.order_no=d.order_no
|
|
|
where (c.superior_id= #{aid} or c.id= #{aid})
|
|
|
- <if test="name != null and name != ''">
|
|
|
- and d.buyer_name like concat('%',#{name},'%')
|
|
|
+ <if test="userName != null and userName != ''">
|
|
|
+ and d.buyer_name like concat('%',#{userName},'%')
|
|
|
</if>
|
|
|
<if test="page_sql !=null">
|
|
|
${page_sql}
|
|
|
@@ -1202,8 +1202,8 @@ create_time = values(create_time)
|
|
|
from task_details a left join t_order_task b on a.id =b.progress_tid
|
|
|
left join admin c on b.task_receiver=c.id
|
|
|
where (c.superior_id= #{aid} or c.id= #{aid})
|
|
|
- <if test="name != null and name != ''">
|
|
|
- and d.buyer_name like concat('%',#{name},'%')
|
|
|
+ <if test="userName != null and userName != ''">
|
|
|
+ and d.buyer_name like concat('%',#{userName},'%')
|
|
|
</if>
|
|
|
</select>
|
|
|
</mapper>
|