Commit 97bf9da9 by zhiwj

门店

parent 7ef90058
......@@ -1145,6 +1145,10 @@ public class StoreApiServiceImpl implements StoreApiService {
if (CollectionUtils.isNotEmpty(storeDTO.getLocation())) {
storeDTO.setLongitude(storeDTO.getLocation().get(0).toString());
storeDTO.setLatitude(storeDTO.getLocation().get(1).toString());
if (CollectionUtils.isNotEmpty(storeDTO.getStoreBrandIdList())) {
Integer brandIds = storeDTO.getStoreBrandIdList().get(0);
storeDTO.setBrandIds(brandIds.toString());
}
}
return ServiceResponse.success(storeDTO);
}
......
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