fix: 系统设置无法保存

This commit is contained in:
2024-04-09 11:52:16 +08:00
parent 83409c683e
commit 1903e0efcc
@@ -58,7 +58,7 @@ public class KhSystemSettingController extends JeroController<KhSystemSetting, I
@ApiOperation(value="系统设置-保存设置", notes="系统设置-保存设置")
@PostMapping(value = "/save")
public Results<T> add(@Validated @RequestBody KhSystemSetting khSystemSetting) {
khSystemSettingService.save(khSystemSetting);
khSystemSettingService.saveOrUpdate(khSystemSetting);
return Results.OK("操作成功!");
}