fix(server): 修改消息列表查询的时候去掉无身份类型
This commit is contained in:
parent
f825c6ce3b
commit
dbe4eb5d34
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user