From 016205e0ecc644f850cdf442cf3cd0c53b7b976f Mon Sep 17 00:00:00 2001
From: fengjin <1435304038@qq.com>
Date: 星期一, 07 十一月 2022 13:50:32 +0800
Subject: [PATCH] Merge branch 'huacheng_test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into huacheng_test

---
 flower_city/src/main/java/com/dg/core/controller/SysSettingsController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/controller/SysSettingsController.java b/flower_city/src/main/java/com/dg/core/controller/SysSettingsController.java
index b21df19..44091bd 100644
--- a/flower_city/src/main/java/com/dg/core/controller/SysSettingsController.java
+++ b/flower_city/src/main/java/com/dg/core/controller/SysSettingsController.java
@@ -45,7 +45,7 @@
     @PostMapping("/update")
     @Authorization
     ResultData update(@RequestBody AutomessageSysSettings automessageSysSettings,@CurrentUser SysUser sysUser){
-        automessageSysSettings.setUpdateUserId(sysUser.getUserId().intValue());
+        automessageSysSettings.setUpdateUserId(sysUser.getUserId());
         automessageSysSettings.setUpdateTime(LocalDateTime.now());
         return  sysSettingsService.update(automessageSysSettings);
     }

--
Gitblit v1.7.1