diff --git a/core/src/main/resources/mapper/ContractMapper.xml b/core/src/main/resources/mapper/ContractMapper.xml index aa7b0b0..0442042 100644 --- a/core/src/main/resources/mapper/ContractMapper.xml +++ b/core/src/main/resources/mapper/ContractMapper.xml @@ -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 @@ -55,8 +55,8 @@ and a.account_number like concat ('%', #{accountNumber}, '%') - - and a.notes = #{notes} + + and a.notes like concat ('%', #{notes}, '%') and a.contract_status like concat ('%', #{contractStatus}, '%')