运维工具-电话条件模糊查询
This commit is contained in:
parent
9e32946481
commit
9618ffa7ed
|
|
@ -20,7 +20,7 @@
|
|||
INNER JOIN nu_biz_elder_info b ON a.open_id = b.guardian_open_id
|
||||
<where>
|
||||
<if test="params.tel != null and params.tel != ''">
|
||||
AND a.tel = #{params.tel}
|
||||
AND a.tel LIKE concat('%',#{params.tel},'%')
|
||||
</if>
|
||||
<if test="params.openId != null and params.openId != ''">
|
||||
AND a.open_id = #{params.openId}
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
from nu_biz_advisory_info a inner join nu_biz_employees_advisory_info b on a.open_id = b.open_id
|
||||
<where>
|
||||
<if test="params.tel != null and params.tel != ''">
|
||||
AND a.tel = #{params.tel}
|
||||
AND a.tel LIKE concat('%',#{params.tel},'%')
|
||||
</if>
|
||||
<if test="params.openId != null and params.openId != ''">
|
||||
AND a.open_id = #{params.openId}
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
from nu_biz_advisory_info a inner join nu_org_apply_info b on a.open_id = b.open_id
|
||||
<where>
|
||||
<if test="params.tel != null and params.tel != ''">
|
||||
AND a.tel = #{params.tel}
|
||||
AND a.tel LIKE concat('%',#{params.tel},'%')
|
||||
</if>
|
||||
<if test="params.openId != null and params.openId != ''">
|
||||
AND a.open_id = #{params.openId}
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
INNER JOIN nu_biz_suppliers_apply b ON a.open_id = b.open_id
|
||||
<where>
|
||||
<if test="params.tel != null and params.tel != ''">
|
||||
AND a.tel = #{params.tel}
|
||||
AND a.tel LIKE concat('%',#{params.tel},'%')
|
||||
</if>
|
||||
<if test="params.openId != null and params.openId != ''">
|
||||
AND a.open_id = #{params.openId}
|
||||
|
|
|
|||
Loading…
Reference in New Issue