Browse Source

fix:修改接口名称

dist.1.3.0
pref_mail@163.com 4 months ago
parent
commit
a2006c1354
  1. 2
      blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java
  2. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseNodeWorkServiceImpl.java

2
blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java

@ -182,7 +182,7 @@ public interface IDistributionParcelListClient {
* @param warehouseId 仓库ID * @param warehouseId 仓库ID
* @return 包件 * @return 包件
*/ */
@GetMapping(API_PREFIX + "/getListByOrderPackageCode") @GetMapping(API_PREFIX + "/getListByOrderPackageCodeAndWarehouseId")
DistributionParcelListEntity getListByOrderPackageCodeAndWarehouseId(@RequestParam String orderPackageCode,@RequestParam Long warehouseId); DistributionParcelListEntity getListByOrderPackageCodeAndWarehouseId(@RequestParam String orderPackageCode,@RequestParam Long warehouseId);
@GetMapping(API_PREFIX + "/findAllStockListByOrderPackageCode") @GetMapping(API_PREFIX + "/findAllStockListByOrderPackageCode")

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseNodeWorkServiceImpl.java

@ -23,7 +23,7 @@ public class WarehouseNodeWorkServiceImpl implements IWarehouseNodeWorkService {
@Override @Override
public void returnToTheWarehouse(NodeFanoutMsg<RetentionDataByScanVO> nodeFanoutMsg, BladeUser user) { public void returnToTheWarehouse(NodeFanoutMsg<RetentionDataByScanVO> nodeFanoutMsg, BladeUser user) {
try { try {
if(user != null){ if(nodeFanoutMsg != null){
rabbitTemplate.convertAndSend(FanoutConstants.distribution.DeliveryAndReturnWarehouse.EXCHANGE, null, com.alibaba.fastjson.JSONObject.toJSONString(nodeFanoutMsg)); rabbitTemplate.convertAndSend(FanoutConstants.distribution.DeliveryAndReturnWarehouse.EXCHANGE, null, com.alibaba.fastjson.JSONObject.toJSONString(nodeFanoutMsg));
} }
} catch (AmqpException e) { } catch (AmqpException e) {

Loading…
Cancel
Save