数据补充

This commit is contained in:
苏竹红
2023-06-25 15:57:23 +08:00
parent 561772850c
commit f397fd496b
3 changed files with 47 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package com.cool.store.vo;
import com.cool.store.request.WantShopInfoRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -51,7 +52,7 @@ public class PartnerIntentInfoVO {
private Integer isHaveWantShop;
@ApiModelProperty("意向铺位信息,json字段,最多5个")
private String wantShopInfo;
private List<WantShopInfoVO> wantShopInfo;
@ApiModelProperty("最大预算")
private String maxBudget;

View File

@@ -0,0 +1,43 @@
package com.cool.store.vo;
import com.cool.store.request.WantShopInfoRequest;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/6/25 15:53
* @Version 1.0
*/
@Data
public class WantShopInfoVO {
private ShopInfoVO shopInfo;
private String uuid;
@Data
static class ShopInfoVO{
private ShopAddressVO shopAddress;
private String storeIsTakeDown;
private String takeDown;
}
@Data
static class ShopAddressVO{
private String address;
private String longitude;
private String latitude;
}
}

View File

@@ -23,6 +23,7 @@ import com.cool.store.utils.StringUtil;
import com.cool.store.vo.PartnerIntentApplyInfoVO;
import com.cool.store.vo.PartnerIntentInfoVO;
import com.cool.store.vo.PartnerUserInfoVO;
import com.cool.store.vo.WantShopInfoVO;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.google.common.collect.Lists;
@@ -223,7 +224,7 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
partnerIntentInfoVO.setOtherBand(hyPartnerIntentInfoDO.getOtherBand());
partnerIntentInfoVO.setStrength(hyPartnerIntentInfoDO.getStrength());
partnerIntentInfoVO.setNeedImprove(hyPartnerIntentInfoDO.getNeedImprove());
partnerIntentInfoVO.setWantShopInfo(hyPartnerIntentInfoDO.getWantShopInfo());
partnerIntentInfoVO.setWantShopInfo(JSONObject.parseArray(hyPartnerIntentInfoDO.getWantShopInfo(), WantShopInfoVO.class));
return partnerIntentInfoVO;
}