|
@@ -216,6 +216,15 @@
|
|
|
#{listItem}
|
|
#{listItem}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="mainCheckerIds != null and mainCheckerIds.size() > 0">
|
|
|
|
|
+ AND btoi.MAIN_CHECKER IN
|
|
|
|
|
+ <foreach collection="mainCheckerIds" item="mainCheckerId" open="(" separator="," close=")">
|
|
|
|
|
+ #{mainCheckerId}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="checkDate != null and checkDate.size() >= 2">
|
|
|
|
|
+ AND bto.CHECK_DATE BETWEEN #{checkDate[0]} AND #{checkDate[1]}
|
|
|
|
|
+ </if>
|
|
|
<if test="permissionUserId != null and permissionUserId != ''">
|
|
<if test="permissionUserId != null and permissionUserId != ''">
|
|
|
AND ( bto.MANAGER_ID = #{permissionUserId}
|
|
AND ( bto.MANAGER_ID = #{permissionUserId}
|
|
|
or btoiru.USER_ID = #{permissionUserId}
|
|
or btoiru.USER_ID = #{permissionUserId}
|