feat:推送门店
This commit is contained in:
@@ -217,7 +217,7 @@ public class ZxjpApiRequest {
|
|||||||
private Integer storeType;
|
private Integer storeType;
|
||||||
|
|
||||||
|
|
||||||
|
private Long shopId;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ public class SyncDataServiceImpl implements SyncDataService {
|
|||||||
@Override
|
@Override
|
||||||
public ZxjpApiRequest getData(Long shopId, DownSystemTypeEnum systemType) {
|
public ZxjpApiRequest getData(Long shopId, DownSystemTypeEnum systemType) {
|
||||||
ZxjpApiRequest request = new ZxjpApiRequest();
|
ZxjpApiRequest request = new ZxjpApiRequest();
|
||||||
|
request.setShopId(shopId);
|
||||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||||
if (shopInfo == null) {
|
if (shopInfo == null) {
|
||||||
throw new ServiceException(ErrorCodeEnum.SHOP_NOT_EXIST);
|
throw new ServiceException(ErrorCodeEnum.SHOP_NOT_EXIST);
|
||||||
|
|||||||
Reference in New Issue
Block a user