Commit 6cbf14cb authored by wzp's avatar wzp

修改bug

parent 1048b7ba
......@@ -268,10 +268,10 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
update = this.videoContentService.removeById(videoContent);
break;
case ADD:
update = true;
update = this.videoContentService.updateById(videoContent);;
break;
case EDIT:
update = true;
update = this.videoContentService.updateById(videoContent);;
break;
default:
}
......@@ -309,10 +309,10 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
update = this.exhibitionBoardService.removeById(exhibitionBoard);
break;
case ADD:
update = true;
update = this.exhibitionBoardService.updateById(exhibitionBoard);;
break;
case EDIT:
update = true;
update = this.exhibitionBoardService.updateById(exhibitionBoard);;
break;
default:
}
......@@ -350,10 +350,10 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
update = this.learningContentService.removeById(learningContent);
break;
case ADD:
update = true;
update = this.learningContentService.updateById(learningContent);
break;
case EDIT:
update = true;
update = this.learningContentService.updateById(learningContent);
break;
default:
}
......
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