|
@@ -47,8 +47,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
1=1
|
|
|
and cet.`status` = 1
|
|
|
and cb.`status` = 1
|
|
|
- <if test="status != null and status != ''">
|
|
|
- and obc.`status` = #{status}
|
|
|
+ <if test="status != null and status.size()!=0 ">
|
|
|
+ AND obc.`status` in
|
|
|
+ <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="gradeType != null and gradeType != ''">
|
|
|
and obc.grade_type = #{gradeType}
|