|
@@ -296,9 +296,12 @@
|
|
|
<if test="beginInvestmentAmount != null and endInvestmentAmount != null and beginInvestmentAmount != '' and endInvestmentAmount != ''">
|
|
|
AND a.investment_amount >= #{beginInvestmentAmount} AND a.investment_amount <= #{endInvestmentAmount}
|
|
|
</if>
|
|
|
- <if test="contractPrice != '' and contractPrice != null">
|
|
|
- AND a.contract_price like concat('%',#{contractPrice},'%')
|
|
|
+ <if test="beginContractPrice != null and endContractPrice != null and beginContractPrice != '' and endContractPrice != ''">
|
|
|
+ AND a.contract_price >= #{beginContractPrice} AND a.contract_price <= #{endContractPrice}
|
|
|
</if>
|
|
|
+<!-- <if test="contractPrice != '' and contractPrice != null">-->
|
|
|
+<!-- AND a.contract_price like concat('%',#{contractPrice},'%')-->
|
|
|
+<!-- </if>-->
|
|
|
<if test="contractState != null and contractState != ''">
|
|
|
AND a.contract_state = #{contractState}
|
|
|
</if>
|