fwq
2022-10-12 63ddd3f3ac73e2f9bf1f170caa5c82e389017266
调用变成仓库后台
1 文件已重命名
6个文件已删除
2个文件已添加
2个文件已修改
216 ■■■■ 已修改文件
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/gold/ParameterDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/CommodityMessageVo.java 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ERPInventoryVo.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ShopWarehouseMessageVo.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/FSmsSendService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WOrderService.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WStockService.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WUpdateService.java 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FConsumablesService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FInventoryService.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FWarehouseService.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/gold/ParameterDto.java
New file
@@ -0,0 +1,18 @@
package com.hx.phiappt.dto.gold;
import lombok.Data;
/**
 * 金博查询参数
 * @author fwq
 */
@Data
public class ParameterDto {
    /**字段名称*/
    private String fieldName;
    /**操作符 =、<>、>、<、>=、<= */
    private String operator;
    /**字段值*/
    private Object value;
}
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/CommodityMessageVo.java
File was deleted
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ERPInventoryVo.java
File was deleted
phi-warehouse-feign/src/main/java/com/hx/phiappt/dto/vo/ShopWarehouseMessageVo.java
File was deleted
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/FSmsSendService.java
@@ -1,7 +1,7 @@
package com.hx.phiappt.feign;
import com.hx.resultTool.Result;
import com.hx.phiappt.dto.SmsGeneralSendDto;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WOrderService.java
@@ -1,7 +1,7 @@
package com.hx.phiappt.feign;
import com.hx.phiappt.dto.order.pick.PickUpDto;
import com.hx.phiappt.dto.order.stock.StockChangeDto;
import com.hx.phiappt.dto.order.pick.PickUpDto;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
@@ -10,7 +10,7 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-warehouse-user", path = "/warehouse-user",contextId = "warehouse-order")
@FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-order")
public interface WOrderService {
    /**
@@ -20,7 +20,7 @@
    Result pickUpOrder(@RequestBody PickUpDto pickUpDto);
    /**
     * 生成商品出库单
     * 生成商品其它出库单
     */
    @PostMapping(value = "/order/create/out/stock")
    Result outStockOrder(@RequestBody StockChangeDto stockChangeDto);
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WStockService.java
File was renamed from phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WStcokService.java
@@ -9,11 +9,11 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-warehouse-user", path = "/warehouse-user",contextId = "warehouse-stock")
public interface WStcokService {
@FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-order")
public interface WStockService {
    /**
     * 更新库存信息
     * 更新商品库存信息
     */
    @PostMapping(value = "/stock/update/one")
    Result updateStock(@RequestBody StockDto stockDto);
phi-warehouse-feign/src/main/java/com/hx/phiappt/feign/WUpdateService.java
New file
@@ -0,0 +1,34 @@
package com.hx.phiappt.feign;
import com.hx.phiappt.dto.gold.ParameterDto;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="warehouse-service", path = "/warehouse",contextId = "warehouse-stock")
public interface WUpdateService {
    /**
     * 更新门店仓库
     * */
    @PostMapping(value = "/update/shopWareHouse")
    Result updateShopWarehouse(@RequestBody ParameterDto parameterDto);
    /**
     * 更新商品信息
     * */
    @PostMapping(value = "/update/consumables")
    Result updateConsumables(@RequestBody ParameterDto parameterDto);
    /**
     * 更新商品库存
     * */
    @PostMapping(value = "/update/stock")
    Result updateConsumablesStock(@RequestBody ParameterDto parameterDto);
}
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FConsumablesService.java
File was deleted
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FInventoryService.java
File was deleted
phi-warehouse-feign/src/main/java/com/hx/phiappt/platform/FWarehouseService.java
File was deleted