Commit 2210ae24 by zhiwj

查询按and

parent 2b880cc4
......@@ -541,8 +541,9 @@
</if>
<if test="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
<if test="badEvaluateStatus != null or goodEvaluateStatus != null or reviewStatus != null or topHotStatus != null or maliciousStatus != null">
( 1=1
(
<if test="badEvaluateStatus != null ">
and bad_evaluate_status = #{badEvaluateStatus}
</if>
......@@ -567,8 +568,8 @@
<!-- <if test="goodsCompute == null and storeCompute == null and serviceCompute == null">-->
<!-- 1=0-->
<!-- </if>-->
1=1
<if test="goodsCompute != null or storeCompute != null or serviceCompute != null">
1=1
<if test="goodsCompute != null and goodsCompute != '' and goodsScore != null ">
and goods_score ${goodsCompute} #{goodsScore}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment