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; /** * 奖品编码.