通讯录查询修改
parent
362dfac1ed
commit
df5d0e3eb7
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue