cmg
2024-04-16 935c8d32003899bd4a9edbdb83227e69a63ebbf1
phi-warehouse-feign/src/main/java/com/hx/warehouse/feign/WUpdateService.java
@@ -1,7 +1,10 @@
package com.hx.warehouse.feign;
import com.hx.warehouse.dto.gold.ParameterDto;
import com.hx.warehouse.dto.gold.ParListDto;
import com.hx.resultTool.Result;
import com.hx.warehouse.dto.order.OrderBackDto;
import com.hx.warehouse.dto.order.OrderUpdateDto;
import com.hx.warehouse.dto.order.stock.StockShopDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -17,18 +20,32 @@
     * 更新门店仓库
     * */
    @PostMapping(value = "/update/shopWareHouse")
    Result updateShopWarehouse(@RequestBody ParameterDto parameterDto);
    Result updateShopWarehouse(@RequestBody ParListDto parListDto);
    /**
     * 更新商品信息
     * */
    @PostMapping(value = "/update/consumables")
    Result updateConsumables(@RequestBody ParameterDto parameterDto);
    Result updateConsumables(@RequestBody ParListDto parListDto);
    /**
     * 更新商品库存
     * */
    @PostMapping(value = "/update/stock")
    Result updateConsumablesStock(@RequestBody ParameterDto parameterDto);
    Result updateConsumablesStock(@RequestBody ParListDto parListDto);
    /**
     * 更新出入库单信息
     * */
    @PostMapping(value = "/update/order/info")
    Result orderSuccess(@RequestBody OrderBackDto orderBackDto);
    /**
     * 出入库成功回调信息入参
     * */
    @PostMapping(value = "/update/back/parameter")
    Result backParameter(@RequestBody OrderBackDto orderBackDto);
}