通讯录查询修改

master
Xusan 2024-05-16 17:14:55 +08:00
parent 362dfac1ed
commit df5d0e3eb7
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@
LEFT JOIN FXKH_TXL.ADDRESS_BOOK A ON U.AB_ID = A.ID
<where>
<if test="dto.name != null and dto.name != '' ">
AND A.NAME = #{dto.name}
AND A.NAME LIKE CONCAT('%', #{dto.name}, '%')
</if>
<if test="dto.phone != null and dto.phone != '' ">
AND A.PHONE = #{dto.phone}
AND A.PHONE LIKE CONCAT('%', #{dto.phone}, '%')
</if>
</where>
</select>