接口 WhRpcService


@FeignClient(name="yst-dms2-sopt", path="/rpc/wh") @Validated public interface WhRpcService
  • 方法详细资料

    • findChannelWhByCodes

      @PostMapping("/findChannelWhByCodes") com.elitesland.ystdms.sys.dto.ApiResult<List<ChannelWhRpcDTO>> findChannelWhByCodes(@RequestBody List<String> channelWhCodes)
      根据渠道仓库编码分页批量查询渠道仓库信息
    • findChannelWhByNames

      @PostMapping("/findChannelWhByNames") com.elitesland.ystdms.sys.dto.ApiResult<List<ChannelWhRpcDTO>> findChannelWhByNames(@RequestBody List<String> channelWhNames)
      根据渠道仓库编码分页批量查询渠道仓库信息
    • saveWhRadiationCity

      @PostMapping("/saveWhRadiationCity") void saveWhRadiationCity(@RequestBody List<WhRadiationCitySaveRpcDTO> dtoList)
      新增仓库辐射城市
    • getWh

      @GetMapping("/getWh") WhRespRpcDTO getWh(@RequestParam("whId") UUID whId)
      根据仓库编码查询仓库信息
    • findWhSimpleList

      @PostMapping("/findWhSimpleList") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSimpleRpcDTO>> findWhSimpleList(@RequestBody List<String> whCodes)
      根据仓库编码查询仓库信息
    • findWhSimpleListBySapFactoryAndWhCode

      @PostMapping("/findWhSimpleListBySapFactoryAndWhCode") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSimpleRpcDTO>> findWhSimpleListBySapFactoryAndWhCode(@RequestBody @Valid @Valid WhSapMapWhSimpleQueryRpcDTO param)
      根据 SAP 工厂编码 + SAP 仓库编码查 inv_wh_sap_map 得到中台 wh_code,再返回与 findWhSimpleList(java.util.List<java.lang.String>) 一致的简版仓库列表。
    • findWhSapMapListByOwnerCodeAndWhCode

      @PostMapping("/findWhSapMapListByOwnerCodeAndWhCode") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSapMapRpcDTO>> findWhSapMapListByOwnerCodeAndWhCode(@RequestBody @Valid @Valid WhSapMapByOwnerWhQueryRpcDTO param)
      按货主编码 + 中台仓库编码查询 inv_wh_sap_map 映射行(与 findWhSimpleListBySapFactoryAndWhCode(com.elitesland.ystdms.sopt.api.feign.rpc.wh.dto.WhSapMapWhSimpleQueryRpcDTO) 入参不同、返回为映射表行而非简版仓库)。
    • findWhSapMapListBySapFactoryAndWhCode

      @PostMapping("/findWhSapMapListBySapFactoryAndWhCode") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSapMapRpcDTO>> findWhSapMapListBySapFactoryAndWhCode(@RequestBody @Valid @Valid WhSapMapBySapCodeQueryRpcDTO param)
      按 SAP 工厂编码 + SAP 仓库编码查询 inv_wh_sap_map 映射行(与 findWhSimpleListBySapFactoryAndWhCode(com.elitesland.ystdms.sopt.api.feign.rpc.wh.dto.WhSapMapWhSimpleQueryRpcDTO) 为不同入参 DTO、返回为映射表行而非简版仓库)。
    • findWhByNames

      @PostMapping("/findWhByNames") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSimpleRpcDTO>> findWhByNames(@RequestBody List<String> whNames)
      根据仓库名称查询仓库信息
      参数:
      whNames -
      返回:
    • getSpecWhCode

      @GetMapping("/getSpecWhCode") com.elitesland.ystdms.sys.dto.ApiResult<List<String>> getSpecWhCode()
      获取特殊仓库编码
    • findWhByExtIds

      @PostMapping("/findWhByExtIds") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSimpleRpcDTO>> findWhByExtIds(@RequestBody List<Long> extIds)
      根据仓库名称查询仓库信息
      参数:
      extIds -
      返回:
    • findWhByWhTypeTopList

      @PostMapping("/findWhByWhTypeTopList") com.elitesland.ystdms.sys.dto.ApiResult<List<WhSimpleRpcDTO>> findWhByWhTypeTopList(@RequestBody List<String> whTypeList)
      根据仓库大类查询仓库信息
      参数:
      whTypeList -
      返回: