...
|
...
|
@@ -290,31 +290,31 @@ |
|
|
from union_share_orders
|
|
|
where promote_uid = #{params.uid,jdbcType=INTEGER}
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 0">
|
|
|
AND status != 100
|
|
|
AND status != 100
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 1">
|
|
|
AND status = 10
|
|
|
AND status = 10
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 2">
|
|
|
AND status = 20
|
|
|
AND status IN (20,30)
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 3">
|
|
|
AND status IN (30,40)
|
|
|
AND status = 40
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 0">
|
|
|
AND status IN (10,20,30,40)
|
|
|
AND status IN (10,20,30,40)
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 1">
|
|
|
AND status = 10
|
|
|
AND status = 10
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 2">
|
|
|
AND status = 20
|
|
|
AND status IN (20,30)
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 3">
|
|
|
AND status IN (30,40)
|
|
|
AND status = 40
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 3">
|
|
|
AND status IN (91,92,93)
|
|
|
AND status IN (91,92,93)
|
|
|
</if>
|
|
|
order by order_time desc
|
|
|
limit #{params.start,jdbcType=INTEGER}, #{params.size,jdbcType=INTEGER}
|
...
|
...
|
@@ -332,10 +332,10 @@ |
|
|
AND status = 10
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 2">
|
|
|
AND status = 20
|
|
|
AND status IN (20,30)
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 1 and params.tab2 == 3">
|
|
|
AND status IN (30,40)
|
|
|
AND status = 40
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 0">
|
|
|
AND status IN (10,20,30,40)
|
...
|
...
|
@@ -344,10 +344,10 @@ |
|
|
AND status = 10
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 2">
|
|
|
AND status = 20
|
|
|
AND status IN (20,30)
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 2 and params.tab2 == 3">
|
|
|
AND status IN (30,40)
|
|
|
AND status = 40
|
|
|
</if>
|
|
|
<if test="params.tab1 != null and params.tab1 == 3">
|
|
|
AND status IN (91,92,93)
|
...
|
...
|
|