From faa95492996fbfa70019ca102bc9b9d0ee0f839a Mon Sep 17 00:00:00 2001 From: xujun Date: Thu, 11 Jun 2026 20:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Djob=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xtools/app/sys/service/impl/SysParamServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xtools-app-sys/xtools-app-sys-biz/src/main/java/xtools/app/sys/service/impl/SysParamServiceImpl.java b/xtools-app-sys/xtools-app-sys-biz/src/main/java/xtools/app/sys/service/impl/SysParamServiceImpl.java index 673af86..c00bec6 100644 --- a/xtools-app-sys/xtools-app-sys-biz/src/main/java/xtools/app/sys/service/impl/SysParamServiceImpl.java +++ b/xtools-app-sys/xtools-app-sys-biz/src/main/java/xtools/app/sys/service/impl/SysParamServiceImpl.java @@ -180,8 +180,12 @@ public class SysParamServiceImpl implements SysParamService, BaseParams { throw new BizWarning("数据不存在"); } entity.setId(oldEntity.getId()); - LoginUserDto loginUser = AuthUtils.get(); - entity.setUpdateBy(loginUser.getId()); + try { + LoginUserDto loginUser = AuthUtils.get(); + entity.setUpdateBy(loginUser.getId()); + } catch (Exception e) { + log.debug("job更新"); + } boolean updated = sysParamBaseService.updateById(entity); if (!updated) { throw new BizWarning("修改失败");