通讯录查询修改
parent
362dfac1ed
commit
df5d0e3eb7
|
|
@ -9,10 +9,10 @@
|
||||||
LEFT JOIN FXKH_TXL.ADDRESS_BOOK A ON U.AB_ID = A.ID
|
LEFT JOIN FXKH_TXL.ADDRESS_BOOK A ON U.AB_ID = A.ID
|
||||||
<where>
|
<where>
|
||||||
<if test="dto.name != null and dto.name != '' ">
|
<if test="dto.name != null and dto.name != '' ">
|
||||||
AND A.NAME = #{dto.name}
|
AND A.NAME LIKE CONCAT('%', #{dto.name}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.phone != null and dto.phone != '' ">
|
<if test="dto.phone != null and dto.phone != '' ">
|
||||||
AND A.PHONE = #{dto.phone}
|
AND A.PHONE LIKE CONCAT('%', #{dto.phone}, '%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue