|
|
@@ -374,6 +374,14 @@
|
|
|
)
|
|
|
</if>
|
|
|
and (
|
|
|
+ case when kll.status in (1, 6)
|
|
|
+ then
|
|
|
+ kll.create_by in
|
|
|
+ <foreach collection="authList" item="item" open="(" close=")" separator=",">
|
|
|
+ #{item,jdbcType=BIGINT}
|
|
|
+ </foreach>
|
|
|
+ when kll.status in (2, 3, 4, 5) then
|
|
|
+ (
|
|
|
kll.create_by in
|
|
|
<foreach collection="authList" item="item" open="(" close=")" separator=",">
|
|
|
#{item,jdbcType=BIGINT}
|
|
|
@@ -383,6 +391,8 @@
|
|
|
#{item,jdbcType=BIGINT}
|
|
|
</foreach>
|
|
|
)
|
|
|
+ end
|
|
|
+ )
|
|
|
</where>
|
|
|
order by kll.generate_time desc
|
|
|
</select>
|