Commit 91911aaf authored by unset's avatar unset

影像图库新增批量上下架以及删除接口

parent fdc78c73
......@@ -118,4 +118,13 @@ public class NoticeInfoBiz extends BaseBiz<NoticeInfoMapper,NoticeInfo> {
}
return ObjectRestResponse.succ();
}
public ObjectRestResponse countObj(NoticeInfoDto noticeInfoDto) {
Example example = new Example(NoticeInfo.class);
Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("isRead", 1);
criteria.andEqualTo("userId", noticeInfoDto.getUserId());
return ObjectRestResponse.succ(mapper.selectCountByExample(example));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment