|
@@ -115,13 +115,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="majorId != null and majorId != ''">
|
|
|
AND g.major_id = #{majorId}
|
|
|
</if>
|
|
|
- <if test="orderStatus != null and orderStatus.size()!=0 ">
|
|
|
+ <if test="orderStatus != null ">
|
|
|
AND o.order_status in
|
|
|
<foreach collection="orderStatus" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="status != null and status.size()!=0 ">
|
|
|
+ <if test="status != null ">
|
|
|
AND o.status in
|
|
|
<foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|