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}
</if>
<if test="entity.phoneNumber != null and entity.phoneNumber != ''">
AND main.phoneNumber LIKE concat('%',#{entity.phoneNumber},'%')
</if>
<if test="entity.idCard != null and entity.idCard != ''">
AND main.idCard LIKE concat('%',#{entity.idCard},'%')
AND main.phone_number LIKE concat('%',#{entity.phoneNumber},'%')
</if>
</where>
GROUP BY main.id