This commit is contained in:
lxd 2025-01-03 09:17:49 +08:00
commit ec90260053

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