Commit 93d4026c by 陶光胜

门店查询接口

parent 1949bb69
......@@ -28,6 +28,8 @@ public class StoreEsDTO implements Serializable {
private List<String> areaIds;
private String id;
private Integer ownType;
private List<StorePhotoDTO> photoList;
private List<StoreBusinessTimeDTO> businessTimeList;
public Integer getStoreId() {
return storeId;
......@@ -220,4 +222,20 @@ public class StoreEsDTO implements Serializable {
public void setOwnType(Integer ownType) {
this.ownType = ownType;
}
public List<StorePhotoDTO> getPhotoList() {
return photoList;
}
public void setPhotoList(List<StorePhotoDTO> photoList) {
this.photoList = photoList;
}
public List<StoreBusinessTimeDTO> getBusinessTimeList() {
return businessTimeList;
}
public void setBusinessTimeList(List<StoreBusinessTimeDTO> businessTimeList) {
this.businessTimeList = businessTimeList;
}
}
......@@ -798,6 +798,8 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO.setStoreName(dto.getStoreName());
esDTO.setStoreType(dto.getStoreType());
esDTO.setOwnType(dto.getOwnType());
esDTO.setBusinessTimeList(dto.getBusinessTimeList());
esDTO.setPhotoList(dto.getPhotoList());
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(esDTO));
List<StoreExtendDTO> storeExtendDTOList = dto.getStoreExtendList();
for (StoreExtendDTO extendDTO : storeExtendDTOList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment