意向店铺信息添加
This commit is contained in:
@@ -37,7 +37,7 @@ public class PartnerIntentInfoRequest {
|
||||
private Integer isHaveWantShop;
|
||||
|
||||
@ApiModelProperty("意向铺位信息,json字段,最多5个")
|
||||
private String wantShopInfo;
|
||||
private List<WantShopInfoRequest> wantShopInfo;
|
||||
|
||||
@ApiModelProperty("最大预算")
|
||||
private String maxBudget;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.cool.store.request;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2023/6/21 22:07
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class WantShopInfoRequest {
|
||||
|
||||
|
||||
private ShopInfo shopInfo;
|
||||
|
||||
|
||||
private String uuid;
|
||||
|
||||
|
||||
|
||||
@Data
|
||||
static class ShopInfo{
|
||||
private ShopAddress shopAddress;
|
||||
|
||||
private String storeIsTakeDown;
|
||||
|
||||
private String takeDown;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
static class ShopAddress{
|
||||
|
||||
private String address;
|
||||
|
||||
private String longitude;
|
||||
|
||||
private String latitude;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -173,7 +173,9 @@ public class HyPartnerIntentInfoServiceImpl implements HyPartnerIntentInfoServic
|
||||
intentInfoDO.setWantShopArea(request.getWantShopArea());
|
||||
intentInfoDO.setAcceptAdjustType(request.getAcceptAdjustType());
|
||||
intentInfoDO.setIsHaveWantShop(request.getIsHaveWantShop());
|
||||
intentInfoDO.setWantShopInfo(request.getWantShopInfo());
|
||||
if (CollectionUtils.isNotEmpty(request.getWantShopInfo())){
|
||||
intentInfoDO.setWantShopInfo(JSONObject.toJSONString(request.getWantShopInfo()));
|
||||
}
|
||||
intentInfoDO.setMaxBudget(request.getMaxBudget());
|
||||
intentInfoDO.setMoneySource(request.getMoneySource());
|
||||
if(CollectionUtils.isNotEmpty(request.getMoneyProve())){
|
||||
|
||||
Reference in New Issue
Block a user