【修复保存内容不生效BUG】
This commit is contained in:
parent
61e7006286
commit
5697eae75a
@ -52,6 +52,7 @@ public class DraftingRepository extends ServiceImpl<DraftingMapper, Drafting>
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertNotNull(d, "草稿数据不存在");
|
||||
BusinessExceptionAssertEnum.NOT_HAVE_AUTHORIZATION.assertTrue(
|
||||
Objects.equals(creatorId, d.getCreatorId()));
|
||||
d.setProto(proto);
|
||||
d.setUpdateAt(LocalDateTime.now());
|
||||
return this.updateById(d);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user