feat:推送门店

This commit is contained in:
苏竹红
2025-06-05 15:09:14 +08:00
parent 83843b67bc
commit 3233e773f2
2 changed files with 2 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ public class ZxjpApiRequest {
private Integer storeType; private Integer storeType;
private Long shopId;

View File

@@ -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);