合同-修复查询问题

This commit is contained in:
cuizhibin 2025-08-12 10:06:05 +08:00
parent 987c4eeb38
commit 7ce85c6e80
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
a.contract_id, a.customer, a.code, a.project_name,
a.salesperson_id, a.department_id, a.sign_date, a.duration,
a.type, a.product_service, a.payment_date, a.payment_address,
a.amount, a.account_number, a.notes, a.contract_status,
a.amount, a.account_number, a.notes, a.contract_status, a.contract_text,
a.create_time, a.create_by, a.update_time, a.update_by
</sql>
@ -55,8 +55,8 @@
<if test="accountNumber != null and accountNumber != ''">
and a.account_number like concat ('%', #{accountNumber}, '%')
</if>
<if test="notes != null">
and a.notes = #{notes}
<if test="notes != null and notes != ''">
and a.notes like concat ('%', #{notes}, '%')
</if>
<if test="contractStatus != null and contractStatus != ''">
and a.contract_status like concat ('%', #{contractStatus}, '%')