多店铺需求
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user