提交 ca392b8f authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 399727aa
......@@ -487,7 +487,7 @@ public class EbookServiceImpl extends BaseServiceImpl<Ebook, String> implements
createCriteria().andIn("id", ids);
List<Book> list = bookMapper.selectByExample(example);
for (Book entity : list) {
if (entity.getStatus() == 1) {
if (entity.getStatus() == 3) {
throw new BaseException(-7,"不能删除审核通过的资源");
}
entity.setIsDelete(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论