多店铺需求

This commit is contained in:
Tankaikai
2025-04-08 14:56:23 +08:00
parent c424f3613f
commit c4cdc83ec3
8 changed files with 241 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson2.JSONObject;
import com.czg.account.entity.ShopInfo;
import com.czg.account.service.ShopInfoService;
import com.czg.account.service.ShopUserService;
import com.czg.account.service.SyncNoticeService;
import com.czg.exception.CzgException;
import com.czg.product.entity.*;
@@ -58,6 +59,8 @@ public class ShopSyncServiceImpl implements ShopSyncService {
@Resource
private ProdConsRelationService prodConsRelationService;
@Resource
private ShopUserService shopUserService;
@Resource
private SyncNoticeService syncNoticeService;
private void checkShopInfo(Long sourceShopId, Long targetShopId) {
@@ -73,7 +76,6 @@ public class ShopSyncServiceImpl implements ShopSyncService {
|| targetShop.getIsHeadShop() == null || targetShop.getIsHeadShop().equals(1)) {
throw new CzgException("同步失败,目标店铺是主店铺或目标店铺是单店");
}
}
@Override