|
@@ -252,11 +252,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<!-- and b.zbi_id NOT IN (${paramMap.billIdList})-->
|
|
|
<!-- </if>-->
|
|
|
<if test="paramMap.idList != null and paramMap.idList != ''">
|
|
|
- and (b.zbi_id IN (${paramMap.idList}) or b.zbi_id NOT IN (${paramMap.billIdList}))
|
|
|
+ and (b.zbi_id IN (${paramMap.idList}) or (b.zbi_id NOT IN (${paramMap.billIdList}) and zbi_status != '99'))
|
|
|
</if>
|
|
|
<if test="paramMap.idList == null or paramMap.idList == ''">
|
|
|
<if test="paramMap.billIdList != null and paramMap.billIdList != ''">
|
|
|
and b.zbi_id NOT IN (${paramMap.billIdList})
|
|
|
+ and zbi_status != '99'
|
|
|
</if>
|
|
|
</if>
|
|
|
ORDER BY b.create_time DESC
|
|
@@ -302,11 +303,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<!-- and b.zbi_id NOT IN (${paramMap.billIdList})-->
|
|
|
<!-- </if>-->
|
|
|
<if test="paramMap.idList != null and paramMap.idList != ''">
|
|
|
- and (b.zbi_id IN (${paramMap.idList}) or b.zbi_id NOT IN (${paramMap.billIdList}))
|
|
|
+ and (b.zbi_id IN (${paramMap.idList}) or (b.zbi_id NOT IN (${paramMap.billIdList}) and zbi_status != '99'))
|
|
|
</if>
|
|
|
<if test="paramMap.idList == null or paramMap.idList == ''">
|
|
|
<if test="paramMap.billIdList != null and paramMap.billIdList != ''">
|
|
|
and b.zbi_id NOT IN (${paramMap.billIdList})
|
|
|
+ and zbi_status != '99'
|
|
|
</if>
|
|
|
</if>
|
|
|
ORDER BY b.create_time DESC
|