This commit is contained in:
linfso 2024-04-29 13:56:25 +08:00
parent 053f2e15dd
commit 7169bbd217

View File

@ -136,7 +136,6 @@
<if test="leastPrice != null "> and least_price = #{leastPrice}</if>
<if test="priceType != null and priceType != ''"> and price_type like concat('%', #{priceType}, '%')</if>
<if test="endDate != null "> and end_date = #{endDate}</if>
<if test="priorityLevel != null "> and priority_level = #{priorityLevel}</if>
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
@ -148,7 +147,6 @@
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
<if test="startDate != null "> and start_date <![CDATA[ >= ]]> #{startDate}</if>
<if test="params.quoteStatus != null and params.quoteStatus==1">
and status=1
@ -160,7 +158,7 @@
and end_date <![CDATA[ < ]]> now()
</if>
<if test="params.quoteStatus != null and params.quoteStatus==4">
start_date <![CDATA[ <= ]]> now() and end_date <![CDATA[ > ]]> now() and status=1
and start_date <![CDATA[ <= ]]> now() and end_date <![CDATA[ > ]]> now() and status=1
</if>
</where>