feat(system): 添加配置项软删除标识并优化通知公告接口
- 在创建配置项时添加软删除标识,避免直接物理删除 - 合并通知公告发布和撤回接口的映射方式,简化接口设计
This commit is contained in:
1 parent
35189fa990
commit
60cba101ed
2 files changed
+3
-4
No files matched your search
@@ -83,6 +83,7 @@ public class ConfigServiceImpl extends ServiceImpl<ConfigMapper, Config> impleme
|
||||
"配置键已存在");
|
||||
Config config = configConverter.toEntity(configForm);
|
||||
config.setCreateBy(SecurityUtils.getUserId());
|
||||
config.setIsDeleted(0);
|
||||
return this.save(config);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user