Jelajahi Sumber

流向查询时间格式化

caiweigan 3 tahun lalu
induk
melakukan
6458fe200e

+ 1 - 1
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/dao/vo/result/FlowQueryRecordInfoVo.java

@@ -71,7 +71,7 @@ public class FlowQueryRecordInfoVo implements Serializable {
      * 查询时间
      */
     @ApiModelProperty(value = "查询时间")
-    private String queryTime;
+    private LocalDateTime queryTime;
 
     /**
      * 品牌

+ 2 - 1
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/dto/res/GetFlowQueryRecordInfo.java

@@ -56,7 +56,8 @@ public class GetFlowQueryRecordInfo implements Serializable {
      * 查询时间
      */
     @ApiModelProperty(value = "查询时间")
-    private String queryTime;
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private LocalDateTime queryTime;
 
 
     /**