From c802e9ea0a513fba3125908d7812f60b9d2bfca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Mon, 30 Sep 2024 11:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B09.30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fleet/entity/FleetConsumeRecord.java | 2 ++ .../mapper/xml/FleetConsumeRecordMapper.xml | 8 ++++-- .../fleet/vo/FleetConsumeRecordVo.java | 1 + gasStation-uni/pagesMy/fleetInfo/fund.vue | 28 +++++++++++++------ 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetConsumeRecord.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetConsumeRecord.java index ddb3dfabb..30d616cbf 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetConsumeRecord.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/entity/FleetConsumeRecord.java @@ -3,6 +3,7 @@ package com.fuint.business.fleet.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; import com.fuint.framework.entity.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -72,6 +73,7 @@ public class FleetConsumeRecord extends BaseEntity implements Serializable { /** * 订单完成时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date paymentTime; /** * 创建者 diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetConsumeRecordMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetConsumeRecordMapper.xml index d39ae991a..0d481b7e2 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetConsumeRecordMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/mapper/xml/FleetConsumeRecordMapper.xml @@ -24,8 +24,9 @@ ORDER BY create_time DESC