public class WaimaiStoreSCAClient extends Object implements WaimaiStoreConsumerService
| Constructor and Description |
|---|
WaimaiStoreSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
List<WaimaiStoreCommentDTO> |
getStoreComment(Long mchId,
Long storeId,
String startTime,
String endTime,
int pageSize)
获取门店评论
|
WaimaiStoreConsumerService |
getWaimaiStoreConsumerService() |
void |
offlineStore(Long mchId,
Long storeId)
门店下线(所有外卖平台)
|
void |
offlineStoreByPlatform(Long mchId,
Long storeId,
String platform)
门店下线(单个外卖平台)
|
void |
onlineStore(Long mchId,
Long storeId)
门店上线(所有外卖平台)
|
void |
onlineStoreByPlatform(Long mchId,
Long storeId,
String platform)
门店上线(单个外卖平台)
|
void |
replyStoreComment(Long mchId,
Long storeId,
Long commentId,
String replyContent)
回复门店评论
|
void |
setWaimaiStoreConsumerService(WaimaiStoreConsumerService waimaiStoreConsumerService) |
void |
updateStore(Long mchId,
Long storeId,
WaimaiStoreDTO waimaiStoreDTO)
更新门店信息
|
void |
updateStoreByPlatform(Long mchId,
Long storeId,
List<String> platformTypes,
WaimaiStoreDTO waimaiStoreDTO)
根据平台更新门店信息
|
public WaimaiStoreConsumerService getWaimaiStoreConsumerService()
public void setWaimaiStoreConsumerService(WaimaiStoreConsumerService waimaiStoreConsumerService)
public void updateStore(Long mchId, Long storeId, WaimaiStoreDTO waimaiStoreDTO) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceupdateStore in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idwaimaiStoreDTO - 门店信息com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void updateStoreByPlatform(Long mchId, Long storeId, List<String> platformTypes, WaimaiStoreDTO waimaiStoreDTO) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceupdateStoreByPlatform in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idplatformTypes - 平台类型waimaiStoreDTO - 门店信息com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void onlineStore(Long mchId, Long storeId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceonlineStore in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idcom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void offlineStore(Long mchId, Long storeId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceofflineStore in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idcom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void onlineStoreByPlatform(Long mchId, Long storeId, String platform) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceonlineStoreByPlatform in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idplatform - 平台代码com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void offlineStoreByPlatform(Long mchId, Long storeId, String platform) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServiceofflineStoreByPlatform in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idplatform - 平台代码com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<WaimaiStoreCommentDTO> getStoreComment(Long mchId, Long storeId, String startTime, String endTime, int pageSize) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServicegetStoreComment in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idstartTime - 开始时间(单位秒)endTime - 结束时间(单位秒)com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void replyStoreComment(Long mchId, Long storeId, Long commentId, String replyContent) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
WaimaiStoreConsumerServicereplyStoreComment in interface WaimaiStoreConsumerServicemchId - 品牌idstoreId - 门店idcommentId - 评论idreplyContent - 回复内容com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.