修复星标不能查看,附件等多个bug,优化样式
This commit is contained in:
@@ -154,7 +154,12 @@ const attService = {
|
||||
},
|
||||
|
||||
selectByEmailIds(c, emailIds) {
|
||||
return orm(c).select().from(att).where(and(inArray(att.emailId,emailIds),eq(att.type, attConst.type.ATT))).all();
|
||||
return orm(c).select().from(att).where(
|
||||
and(
|
||||
inArray(att.emailId,emailIds),
|
||||
eq(att.type, attConst.type.ATT),
|
||||
isNull(att.contentId)))
|
||||
.all();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user