From 33785080cfd8d09f738a6e6e53098e3cce53ef38 Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Thu, 2 Jan 2025 13:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8F=82=E6=95=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/controller/admin/process/ProcessController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/process/ProcessController.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/process/ProcessController.java index a1f1d2ceb..03fc3acb9 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/process/ProcessController.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/process/ProcessController.java @@ -59,7 +59,7 @@ public class ProcessController { process.setRegId(processSaveReqVO.getRegId()); process.setProcessContent(processSaveReqVO.getProcessContent()); process.setApplyDoctor(processSaveReqVO.getApplyDoctor()); - DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-M-d HH:mm:ss"); process.setApplyDateTime(LocalDateTime.parse(processSaveReqVO.getApplyDateTime(), formatter)); process.setPname(processSaveReqVO.getPname()); processMapper.insert(process);