From 26103c72e1ebd8ec39d4f70808f524a9e3c6689e Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 14 七月 2025 10:27:52 +0800 Subject: [PATCH] 新增离职的人员选项使用下拉框(查询改员工最新的入职信息) --- src/main/java/com/ruoyi/device/pojo/DeviceMaintenance.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ruoyi/device/pojo/DeviceMaintenance.java b/src/main/java/com/ruoyi/device/pojo/DeviceMaintenance.java index 431188d..f5d5463 100644 --- a/src/main/java/com/ruoyi/device/pojo/DeviceMaintenance.java +++ b/src/main/java/com/ruoyi/device/pojo/DeviceMaintenance.java @@ -20,16 +20,25 @@ private Long id; @ApiModelProperty("璁惧鍙拌处id") - private String deviceLedgerId; + private Long deviceLedgerId; + + + private String deviceName; + + private String deviceModel; @ApiModelProperty("璁″垝淇濆吇鏃ユ湡") - private Date maintenancePlanTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime maintenancePlanTime; @ApiModelProperty("瀹為檯淇濆吇浜�") private String maintenanceActuallyName; @ApiModelProperty("瀹為檯淇濆吇鏃ユ湡") - private Date maintenanceActuallyTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime maintenanceActuallyTime; @ApiModelProperty("淇濆吇缁撴灉 0 缁翠慨 1 瀹屽ソ") private Integer maintenanceResult; -- Gitblit v1.9.3