<iftest="goodsCompute != null and goodsCompute != '' and goodsScore != null ">
and goods_score ${goodsCompute} #{goodsScore}
</if>
<iftest="storeCompute != null and storeCompute != '' and storeScore != null ">
and store_score ${storeCompute} #{storeScore}
</if>
<iftest="serviceCompute != null and serviceCompute != '' and serviceScore != null ">
and service_score ${serviceCompute} #{serviceScore}
<iftest="badEvaluateStatus != null or goodEvaluateStatus != null or reviewStatus != null or topHotStatus != null or maliciousStatus != null or goodsCompute != null or storeCompute != null or serviceCompute != null ">
and (
<iftest="badEvaluateStatus != null or goodEvaluateStatus != null or reviewStatus != null or topHotStatus != null or maliciousStatus != null">
( 1=0
<iftest="badEvaluateStatus != null ">
or bad_evaluate_status = #{badEvaluateStatus}
</if>
<iftest="goodEvaluateStatus != null ">
or good_evaluate_status = #{goodEvaluateStatus}
</if>
<iftest="reviewStatus != null ">
or review_status = #{reviewStatus}
</if>
<iftest="topHotStatus != null ">
or top_hot_status = #{topHotStatus}
</if>
<iftest="maliciousStatus != null ">
or malicious_status = #{maliciousStatus}
</if>
)
</if>
<iftest="badEvaluateStatus == null and goodEvaluateStatus == null and reviewStatus == null and topHotStatus == null and maliciousStatus == null">
1=1
</if>
or ( 1=0
<iftest="goodsCompute != null and goodsCompute != '' and goodsScore != null ">
and goods_score ${goodsCompute} #{goodsScore}
</if>
<iftest="storeCompute != null and storeCompute != '' and storeScore != null ">
and store_score ${storeCompute} #{storeScore}
</if>
<iftest="serviceCompute != null and serviceCompute != '' and serviceScore != null ">
and service_score ${serviceCompute} #{serviceScore}