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);