From d3b93b9702590e4be1faaad6f6ba8cfb0ca7913a Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 22 Oct 2025 17:55:13 +0800 Subject: [PATCH] =?UTF-8?q?id=E8=BD=AC=E4=B8=BAstring=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/command/activity/LotteryActivityDetailQryExe.java | 4 ++-- .../other/app/command/activity/LotteryActivityListQryExe.java | 2 +- .../other/app/command/activity/LotteryRecordQryExe.java | 2 +- .../app/dto/clientobject/activity/LotteryActivityCO.java | 2 +- .../other/app/dto/clientobject/activity/LotteryPrizeCO.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityDetailQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityDetailQryExe.java index ced1e18b..68abf0c7 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityDetailQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityDetailQryExe.java @@ -107,7 +107,7 @@ public class LotteryActivityDetailQryExe { private LotteryActivityCO convertActivityToCO(LotteryActivity activity, Integer usedCount) { LotteryActivityCO co = new LotteryActivityCO(); - co.setId(activity.getId()); + co.setId(String.valueOf(activity.getId())); co.setActivityCode(activity.getActivityCode()); co.setActivityName(activity.getActivityName()); co.setActivityDesc(activity.getActivityDesc()); @@ -130,7 +130,7 @@ public class LotteryActivityDetailQryExe { private LotteryPrizeCO convertPrizeToCO(LotteryPrize prize) { LotteryPrizeCO co = new LotteryPrizeCO(); - co.setId(prize.getId()); + co.setId(String.valueOf(prize.getId())); co.setPrizeCode(prize.getPrizeCode()); co.setPrizeName(prize.getPrizeName()); co.setPrizeType(prize.getPrizeType()); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityListQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityListQryExe.java index bdb47e80..6477f88d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityListQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryActivityListQryExe.java @@ -71,7 +71,7 @@ public class LotteryActivityListQryExe { private LotteryActivityCO convertToCO(LotteryActivity activity, Map userDrawCountMap) { LotteryActivityCO co = new LotteryActivityCO(); - co.setId(activity.getId()); + co.setId(String.valueOf(activity.getId())); co.setActivityCode(activity.getActivityCode()); co.setActivityName(activity.getActivityName()); co.setActivityDesc(activity.getActivityDesc()); diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryRecordQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryRecordQryExe.java index 66177038..7bc17d57 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryRecordQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryRecordQryExe.java @@ -113,7 +113,7 @@ public class LotteryRecordQryExe { LotteryPrize prize = prizeMap.get(record.getPrizeId()); if (prize != null) { LotteryPrizeCO prizeCO = new LotteryPrizeCO(); - prizeCO.setId(prize.getId()); + prizeCO.setId(String.valueOf(prize.getId())); prizeCO.setPrizeCode(prize.getPrizeCode()); prizeCO.setPrizeName(prize.getPrizeName()); prizeCO.setPrizeType(prize.getPrizeType()); diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryActivityCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryActivityCO.java index 90d717ee..51ade13c 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryActivityCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryActivityCO.java @@ -20,7 +20,7 @@ public class LotteryActivityCO extends ClientObject { /** * 活动ID. */ - private Long id; + private String id; /** * 活动编码. diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryPrizeCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryPrizeCO.java index 5648bdf4..c9891a0d 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryPrizeCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/LotteryPrizeCO.java @@ -20,7 +20,7 @@ public class LotteryPrizeCO extends ClientObject { /** * 奖品ID. */ - private Long id; + private String id; /** * 奖品编码.