diff --git a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml index f90291cb..a5217c8d 100644 --- a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml +++ b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml @@ -193,7 +193,7 @@ and find_in_set(#{condition.lawyerId},ci.co_lawyer_ids) - 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}) and ci.status = 0 and ci.del_flag = 0 order by ci.create_time desc