This commit is contained in:
PQZ 2024-08-07 15:28:20 +08:00
parent 743f529c31
commit 8d29ed67ca

View File

@ -52,10 +52,7 @@
AND item.system_code = #{entity.systemCode} AND item.system_code = #{entity.systemCode}
</if> </if>
<if test="entity.phoneNumber != null and entity.phoneNumber != ''"> <if test="entity.phoneNumber != null and entity.phoneNumber != ''">
AND main.phoneNumber LIKE concat('%',#{entity.phoneNumber},'%') AND main.phone_number LIKE concat('%',#{entity.phoneNumber},'%')
</if>
<if test="entity.idCard != null and entity.idCard != ''">
AND main.idCard LIKE concat('%',#{entity.idCard},'%')
</if> </if>
</where> </where>
GROUP BY main.id GROUP BY main.id