Commit 2e8bac5c authored by liuzeheng's avatar liuzeheng

订单状态

parent a6860b2a
...@@ -3836,8 +3836,25 @@ ...@@ -3836,8 +3836,25 @@
<!-- </if>--> <!-- </if>-->
<!-- </if>--> <!-- </if>-->
<if test = "query.status != null"> <!-- <if test = "query.status != null">-->
AND o.`status` = #{query.status} <!-- AND o.`status` = #{query.status}-->
<!-- </if>-->
<if test="query.statusList != null and query.statusList.size()>0">
<if test="query.statusList != null and query.statusList != '' and query.statusList.size()==1 ">
AND o.`status` =
<foreach item='status' index="index" collection='query.statusList' >
#{status}
</foreach>
</if>
<if test="query.statusList != null and query.statusList != '' and query.statusList.size()>1 ">
AND o.`status` in
<foreach item='status' index="index" collection='query.statusList' open='(' separator=',' close=')'>
#{status}
</foreach>
</if>
</if> </if>
<!-- <if test = "query.abnormalState != null">--> <!-- <if test = "query.abnormalState != null">-->
<!-- <choose>--> <!-- <choose>-->
......
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