From 0168fbde74239022bb51b0fa70e059d3fb100071 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 5 Feb 2024 13:18:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=84=9F=E7=9F=A5uuid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zc/business/controller/DcWarningController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/controller/DcWarningController.java b/zc-business/src/main/java/com/zc/business/controller/DcWarningController.java index 73ab8965..5c3115d9 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcWarningController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcWarningController.java @@ -80,9 +80,7 @@ public class DcWarningController extends BaseController @PostMapping public AjaxResult add(@RequestBody DcWarning dcWarning) { - //设置事件Id UUID无下划线格式32 - String uuid = IdUtils.fastSimpleUUID(); - dcWarning.setId(uuid); + return toAjax(dcWarningService.insertDcWarning(dcWarning)); }