diff --git a/src/main/resources/mybatis/mapper/mail/mail-mapper.xml b/src/main/resources/mybatis/mapper/mail/mail-mapper.xml index fb14d41..950b271 100644 --- a/src/main/resources/mybatis/mapper/mail/mail-mapper.xml +++ b/src/main/resources/mybatis/mapper/mail/mail-mapper.xml @@ -78,7 +78,7 @@ FROM oa_mail_read_tag WHERE - id = # {id} + id = #{id} AND user_id = #{userId} LIMIT 1