From e05b8bed2f3021427db567abe005960e91867e7e Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 26 Nov 2025 10:18:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E5=87=BA=E5=8F=82=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/convertor/RoomRedPacketAppConvertor.java | 8 ++++---- .../other/app/dto/clientobject/RoomRedPacketCO.java | 4 ++-- .../other/app/dto/clientobject/RoomRedPacketDetailCO.java | 2 +- .../other/app/dto/clientobject/RoomRedPacketRecordCO.java | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java index 1f601ee5..3dbe53e3 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java @@ -38,10 +38,10 @@ public class RoomRedPacketAppConvertor { co.setRemainAmount(domain.getRemainAmount()); co.setRemainCount(domain.getRemainCount()); co.setExpireMinutes(domain.getExpireMinutes()); - co.setExpireTime(domain.getExpireTime()); + co.setExpireTime(domain.getExpireTime().toString()); co.setStatus(domain.getStatus()); co.setStatusDesc(getStatusDesc(domain.getStatus())); - co.setCreateTime(domain.getCreateTime()); + co.setCreateTime(domain.getCreateTime().toString()); // 计算倒计时(秒) if (domain.getExpireTime() != null) { @@ -71,7 +71,7 @@ public class RoomRedPacketAppConvertor { co.setRemainCount(domain.getRemainCount()); co.setStatus(domain.getStatus()); co.setStatusDesc(getStatusDesc(domain.getStatus())); - co.setCreateTime(domain.getCreateTime()); + co.setCreateTime(domain.getCreateTime().toString()); // 转换领取记录 if (records != null) { @@ -96,7 +96,7 @@ public class RoomRedPacketAppConvertor { co.setRecordId(domain.getRecordId()); co.setUserId(domain.getUserId()); co.setAmount(domain.getAmount()); - co.setGrabTime(domain.getGrabTime()); + co.setGrabTime(domain.getGrabTime().toString()); return co; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java index 98713819..d834054e 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java @@ -78,7 +78,7 @@ public class RoomRedPacketCO { /** * 过期时间 */ - private LocalDateTime expireTime; + private String expireTime; /** * 倒计时(秒) @@ -103,5 +103,5 @@ public class RoomRedPacketCO { /** * 创建时间 */ - private LocalDateTime createTime; + private String createTime; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java index 773fd657..9d669faf 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java @@ -89,5 +89,5 @@ public class RoomRedPacketDetailCO { /** * 创建时间 */ - private LocalDateTime createTime; + private String createTime; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java index 9f056db7..1b59999c 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java @@ -38,5 +38,5 @@ public class RoomRedPacketRecordCO { /** * 抢红包时间 */ - private LocalDateTime grabTime; + private String grabTime; }