合同-修复查询问题
This commit is contained in:
parent
7ce85c6e80
commit
2701f7fd46
|
@ -5,9 +5,10 @@
|
|||
<sql id="Base_Column_List">
|
||||
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.contract_text,
|
||||
a.create_time, a.create_by, a.update_time, a.update_by
|
||||
a.type, a.product_service, a.payment_date, a.performance_deadline,
|
||||
a.payment_address, 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>
|
||||
|
||||
<select id="queryBySelective" resultType="com.dite.znpt.domain.vo.ContractResp">
|
||||
|
@ -61,7 +62,7 @@
|
|||
<if test="contractStatus != null and contractStatus != ''">
|
||||
and a.contract_status like concat ('%', #{contractStatus}, '%')
|
||||
</if>
|
||||
<if test="contractText != null">
|
||||
<if test="contractText != null and contractText != ''">
|
||||
and a.contract_text like concat ('%', #{contractText}, '%')
|
||||
</if>
|
||||
</where>
|
||||
|
|
Loading…
Reference in New Issue