【修复保存内容不生效BUG】

This commit is contained in:
weizhihong 2023-06-29 16:26:20 +08:00
parent 61e7006286
commit 5697eae75a

View File

@ -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);
}