申请参数时间BUG修复
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
Euni4U 2025-01-02 13:43:55 +08:00
parent 57389293c9
commit 33785080cf

View File

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