diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/marriagebounty/user/response/UserGetMarriageBountyOrderProductInfoVo.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/marriagebounty/user/response/UserGetMarriageBountyOrderProductInfoVo.java index bce59ac..d63eb89 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/marriagebounty/user/response/UserGetMarriageBountyOrderProductInfoVo.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/marriagebounty/user/response/UserGetMarriageBountyOrderProductInfoVo.java @@ -2,7 +2,10 @@ package com.qniao.dam.api.query.marriagebounty.user.response; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; +import com.qniao.dam.domian.aggregate.marriagebount.constant.MarriageBountyOrderDisplay; import com.qniao.dam.domian.aggregate.marriagebount.constant.MarriageBountyOrderType; +import com.qniao.dam.domian.aggregate.marriagebount.constant.MarriageBountyOrderVersion; +import com.qniao.dam.domian.aggregate.marriagebount.constant.PublishIdentityTypeEnum; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -15,6 +18,13 @@ public class UserGetMarriageBountyOrderProductInfoVo { @JsonSerialize(using = ToStringSerializer.class) private Long marriageBountyOrderId; + @ApiModelProperty("用户标识") + @JsonSerialize(using = ToStringSerializer.class) + private Long userId; + + @ApiModelProperty("悬赏招亲发布者类型") + private PublishIdentityTypeEnum publishType; + @ApiModelProperty("悬赏招亲类型") private MarriageBountyOrderType type; diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/query/marriagebounty/impl/MarriageBountyOrderQueryServiceImpl.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/query/marriagebounty/impl/MarriageBountyOrderQueryServiceImpl.java index dfece36..5cc3d69 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/query/marriagebounty/impl/MarriageBountyOrderQueryServiceImpl.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/query/marriagebounty/impl/MarriageBountyOrderQueryServiceImpl.java @@ -115,7 +115,9 @@ public class MarriageBountyOrderQueryServiceImpl implements MarriageBountyOrderQ if (Objects.nonNull(marriageBountyOrder)) { productInfoVo = new UserGetMarriageBountyOrderProductInfoVo(); productInfoVo.setMarriageBountyOrderId(marriageBountyOrder.getId()); + productInfoVo.setUserId(marriageBountyOrder.getUserId()); productInfoVo.setType(marriageBountyOrder.getType()); + productInfoVo.setPublishType(marriageBountyOrder.getPublishType()); productInfoVo.setRewardAmount(marriageBountyOrder.getRewardAmount()); productInfoVo.setMeetingQuantity(marriageBountyOrder.getMeetingQuantity()); if (MarriageBountyOrderVersion.V1.equals(marriageBountyOrder.getVersion())) {