public class WaimaiDishSCAClient extends Object implements WaimaiDishConsumerService
| Constructor and Description |
|---|
WaimaiDishSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchUpdateDish(Long mchId,
Long storeId,
List<DishNormWmDTO> dishNormWmDTOs) |
WaimaiDishConsumerService |
getWaimaiDishConsumerService() |
void |
offlineDish(Long mchId,
Long storeId,
Long dishNormId) |
void |
onlineDish(Long mchId,
Long storeId,
Long dishNormId,
DishNormWmDTO dishNormWmDTO) |
void |
saveDishGroup(Long mchId,
Long storeId,
Long dishGroupId,
DishGroupWmDTO dishGroup) |
void |
setThreshold(Long mchId,
Long storeId,
Long dishNormId,
int stock) |
void |
setWaimaiDishConsumerService(WaimaiDishConsumerService waimaiDishConsumerService) |
void |
updateDish(Long mchId,
Long storeId,
Long dishNormId,
DishNormWmDTO dishNormWmDTO) |
void |
updateDishGroup(Long mchId,
Long storeId,
Long dishGroupId,
DishGroupWmDTO dishGroup) |
public WaimaiDishConsumerService getWaimaiDishConsumerService()
public void setWaimaiDishConsumerService(WaimaiDishConsumerService waimaiDishConsumerService)
public void saveDishGroup(Long mchId, Long storeId, Long dishGroupId, DishGroupWmDTO dishGroup) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
saveDishGroup in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void updateDishGroup(Long mchId, Long storeId, Long dishGroupId, DishGroupWmDTO dishGroup) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateDishGroup in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void onlineDish(Long mchId, Long storeId, Long dishNormId, DishNormWmDTO dishNormWmDTO) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
onlineDish in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void offlineDish(Long mchId, Long storeId, Long dishNormId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
offlineDish in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void updateDish(Long mchId, Long storeId, Long dishNormId, DishNormWmDTO dishNormWmDTO) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateDish in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void batchUpdateDish(Long mchId, Long storeId, List<DishNormWmDTO> dishNormWmDTOs) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
batchUpdateDish in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void setThreshold(Long mchId, Long storeId, Long dishNormId, int stock) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
setThreshold in interface WaimaiDishConsumerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.