修复业主已读通知未记录的bug

This commit is contained in:
xuecong 2021-11-11 17:17:14 +08:00
parent 911aa69e82
commit b6b689d655

View File

@ -68,7 +68,7 @@ const MpNoticeReadAction = <Action>{
const exit = await ctx.model
.from('ejyy_notice_to_user_readed')
.where('wechat_mp_user_id', ctx.mpUserInfo.id)
.andWhere('id', id)
.andWhere('notice_id', id)
.first();
if (!exit) {