|
@@ -46,13 +46,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="monthTime != null and monthTime != ''">
|
|
|
+ <if test="monthTime != null and monthTime.size()!=0">
|
|
|
AND dl.month_time in
|
|
|
<foreach collection="monthTime" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="tenantIds != null and tenantIds != ''">
|
|
|
+ <if test="tenantIds != null and tenantIds.size()!=0">
|
|
|
AND dl.tenant_id in
|
|
|
<foreach collection="tenantIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
@@ -75,7 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
bcl.check_from = 2
|
|
|
AND bcl.check_status = 0
|
|
|
AND bcl.check_sign = 1
|
|
|
- <if test="roleIds != null and roleIds != ''">
|
|
|
+ <if test="roleIds != null and roleIds.size()!=0">
|
|
|
AND bcl.role_id in
|
|
|
<foreach collection="roleIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
@@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
bcl.check_from = 2
|
|
|
AND bcl.check_status = 0
|
|
|
AND bcl.check_sign = 1
|
|
|
- <if test="roleIds != null and roleIds != ''">
|
|
|
+ <if test="roleIds != null and roleIds.size()!=0">
|
|
|
AND bcl.role_id not in
|
|
|
<foreach collection="roleIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
@@ -133,13 +133,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="checkFrom != null and checkFrom != ''">
|
|
|
AND cl.check_from = #{checkFrom}
|
|
|
</if>
|
|
|
- <if test="checkStatus != null and checkStatus != ''">
|
|
|
+ <if test="checkStatus != null and checkStatus.size()!=0">
|
|
|
AND cl.check_status in
|
|
|
<foreach collection="checkStatus" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="monthTime != null and monthTime != ''">
|
|
|
+ <if test="monthTime != null and monthTime.size()!=0">
|
|
|
AND dl.month_time in
|
|
|
<foreach collection="monthTime" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|