调整SQL,支持协办律师查看案件
This commit is contained in:
parent
895a7bfa51
commit
770bc0cd23
|
@ -193,7 +193,7 @@
|
|||
and find_in_set(#{condition.lawyerId},ci.co_lawyer_ids)
|
||||
</if>
|
||||
<if test="condition.userId != null">
|
||||
and find_in_set(#{condition.userId},ci.entrusted_lawyer_id)
|
||||
and (find_in_set(#{condition.userId},ci.co_lawyer_ids) or ci.entrusted_lawyer_id = #{condition.userId})
|
||||
</if>
|
||||
and ci.status = 0 and ci.del_flag = 0
|
||||
order by ci.create_time desc
|
||||
|
|
Loading…
Reference in New Issue