<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
1=1 (
<iftest="badEvaluateStatus != null or goodEvaluateStatus != null or reviewStatus != null or topHotStatus != null or maliciousStatus != null">
(
<iftest="badEvaluateStatus != null ">
and bad_evaluate_status = #{badEvaluateStatus}
</if>
<iftest="goodEvaluateStatus != null ">
and good_evaluate_status = #{goodEvaluateStatus}
</if>
<iftest="reviewStatus != null ">
and review_status = #{reviewStatus}
</if>
<iftest="topHotStatus != null ">
and top_hot_status = #{topHotStatus}
</if>
<iftest="maliciousStatus != null ">
and malicious_status = #{maliciousStatus}
</if>
)
</if>
<!-- <if test="badEvaluateStatus == null and goodEvaluateStatus == null and reviewStatus == null and topHotStatus == null and maliciousStatus == null">-->
<!-- 1=0-->
<!-- </if>-->
and (
<!-- <if test="goodsCompute == null and storeCompute == null and serviceCompute == null">-->
<!-- 1=0-->
<!-- </if>-->
1=1
<iftest="goodsCompute != null or storeCompute != null or serviceCompute != null">
<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}
</if>
</if>
)
)
<iftest="badEvaluateStatus != null ">
and bad_evaluate_status = #{badEvaluateStatus}
</if>
<iftest="goodEvaluateStatus != null ">
and good_evaluate_status = #{goodEvaluateStatus}
</if>
<iftest="reviewStatus != null ">
and review_status = #{reviewStatus}
</if>
<iftest="topHotStatus != null ">
and top_hot_status = #{topHotStatus}
</if>
<iftest="maliciousStatus != null ">
and malicious_status = #{maliciousStatus}
</if>
<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}