- * feign client 存放目录,注意 @EnablePigxFeignClients 的扫描范围 - */ -package com.bsd.pjcloud.erp.api.feign; \ No newline at end of file diff --git a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/constant/packge-info.java b/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/constant/packge-info.java deleted file mode 100644 index 3d3a3c964..000000000 --- a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/constant/packge-info.java +++ /dev/null @@ -1,6 +0,0 @@ -/* - * @author pigx archetype - *
- * 常量和枚举定义 - */ -package com.bsd.pjcloud.erp.constant; \ No newline at end of file diff --git a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/entity/packge-info.java b/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/entity/packge-info.java deleted file mode 100644 index dce807af6..000000000 --- a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/erp/entity/packge-info.java +++ /dev/null @@ -1,6 +0,0 @@ -/* - * @author pigx archetype - *
- * 实体 存放目录
- */
-package com.bsd.pjcloud.erp.entity;
\ No newline at end of file
diff --git a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketCategoryService.java b/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketCategoryService.java
deleted file mode 100644
index 4f1b90aa0..000000000
--- a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketCategoryService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.bsd.pjcloud.supermarketerp.api.feign;
-
-
-import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
-import com.bsd.pjcloud.common.core.util.R;
-import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.GetMapping;
-
-/**
- * @author zjf
- * @date 2018/6/22
- */
-@FeignClient(contextId = "remoteSupermarketCategoryServic", value = ServiceNameConstants.SUPERMARKET_SERVICE)
-public interface RemoteSupermarketCategoryService {
-
-
-
-
- /**
- * 查询所有的分类
- * @return R
- */
- @GetMapping("/supermarketCategory/simpleAll")
- R getSimpleAll();
-
-}
diff --git a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketSpuService.java b/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketSpuService.java
deleted file mode 100644
index 2b75b0f35..000000000
--- a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketSpuService.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- *
- * Copyright (c) 2018-2025, pjcloud All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the pig4cloud.com developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: pjcloud
- *
- */
-
-package com.bsd.pjcloud.supermarketerp.api.feign;
-
-
-import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
-import com.bsd.pjcloud.common.core.util.R;
-import com.bsd.pjcloud.supermarketerp.dto.SupermarketSpuQueryDTO;
-import com.bsd.pjcloud.supermarketerp.dto.SupermarketSpuUpdateStockReqDTO;
-import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestParam;
-
-/**
- * @author zjf
- * @date 2018/6/22
- */
-@FeignClient(contextId = "remoteSupermarketSpuService", value = ServiceNameConstants.SUPERMARKET_SERVICE)
-public interface RemoteSupermarketSpuService {
-
-
-
- /**
- * 查询所有的超市spu列表信息,根据条件
- * @return R
- */
- @PostMapping("/supermarketSpu/ad/selectListAll")
- R getSupermarketSpuScope(@RequestBody SupermarketSpuQueryDTO supermarketSpuQueryDTO);
-
-
-
- /**
- * 根据spu id 查询spu详情,详情包括辅助条码和包装单位基本信息
- * @param id
- * @return
- */
- @GetMapping("/supermarketSpu/ad/SpuDetails")
- R getSupermarketSpuDetailById(@RequestParam("id")Long id);
-
-
- /**
- * 更新库存
- * @param updateStockReqDTO
- * @return
- */
- @PostMapping("/supermarketSpu/ad/updateSpuStock")
- R updateSpuStock(@RequestBody SupermarketSpuUpdateStockReqDTO updateStockReqDTO);
-
-
-
-
-
- /**
- * 查询所有的超市spu列表信息,根据条件
- * @return R
- */
- @PostMapping("/supermarketSpu/app/selectListAll")
- R getSupermarketSpu(@RequestBody SupermarketSpuQueryDTO supermarketSpuQueryDTO);
-
-
- /**
- * 购物车效验库存
- * @param spuId
- * @param incrCount 扣减数量,正数负数都行
- * @return
- */
- @GetMapping("/supermarketSpu/app/checkSpuStock")
- R checkSpuStock(@RequestParam(value ="spuId")Long spuId,@RequestParam("incrCount")Integer incrCount);
-
-}
diff --git a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketUnitSkuService.java b/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketUnitSkuService.java
deleted file mode 100644
index 7cb7606b6..000000000
--- a/pjcloud-supermarket-erp/pjcloud-supermarket-erp-api/src/main/java/com/bsd/pjcloud/supermarketerp/api/feign/RemoteSupermarketUnitSkuService.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- *
- * Copyright (c) 2018-2025, pjcloud All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the pig4cloud.com developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: pjcloud
- *
- */
-
-package com.bsd.pjcloud.supermarketerp.api.feign;
-
-
-import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
-import com.bsd.pjcloud.common.core.util.R;
-import com.bsd.pjcloud.supermarketerp.vo.SupermarketUnitWithSpuVo;
-import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-
-import java.util.List;
-
-/**
- * @author zjf
- * @date 2018/6/22
- */
-@FeignClient(contextId = "remoteSupermarketUnitSkuService", value = ServiceNameConstants.SUPERMARKET_SERVICE)
-public interface RemoteSupermarketUnitSkuService {
-
-
-
-
-
- /**
- * sku 包装单位
- * 根据包装ids查询
- * @param ids
- * @return
- */
- @PostMapping("/supermarketUnit/ad/getSupermarketUnits")
- R> getSupermarketUnits(@RequestBody List