This commit is contained in:
1 parent
cccdcb30eb
commit
2df35f3160
13 files changed
+228
-132
No files matched your search
@@ -46,7 +46,7 @@ func genSQL(ctx *context.Context, count bool, tagInfo dto.SearchTag, keyword str
|
||||
} else if pop3List {
|
||||
sql += `e.id,e.size from email e left join user_email ue on e.id=ue.email_id where ue.user_id = ? `
|
||||
} else {
|
||||
sql += `e.*,ue.is_read from email e left join user_email ue on e.id=ue.email_id where ue.user_id = ? `
|
||||
sql += `e.*,ue.is_read,ue.is_deleted,ue.status AS user_status from email e left join user_email ue on e.id=ue.email_id where ue.user_id = ? `
|
||||
}
|
||||
|
||||
if tagInfo.Status != -1 {
|
||||
|
||||
Reference in new issue
Block a user