fix(server): 修改消息列表查询的时候去掉无身份类型

This commit is contained in:
金海洋 2023-10-13 14:42:49 +08:00
parent f825c6ce3b
commit dbe4eb5d34

View File

@ -55,9 +55,9 @@
and record.is_delete = 0
and (
(record.to_id = #{identityId} and record.receive_type = #{receiveType})
<if test="personId != null">
or (record.to_id = 0 and record.receive_type = 9 and record.person_id = #{personId} )
</if>
<!-- <if test="personId != null">-->
<!-- or (record.to_id = 0 and record.receive_type = 9 and record.person_id = #{personId} )-->
<!-- </if>-->
)
<if test="states != null and states.size > 0">
and record.state in