|
|
|
@ -11648,11 +11648,13 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
//判断包件是否已入库
|
|
|
|
|
DistributionParcelListEntity distributionParcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId); |
|
|
|
|
if (!Objects.isNull(distributionParcelListEntity)) { |
|
|
|
|
String orderPackageStatus = distributionParcelListEntity.getOrderPackageStatus(); |
|
|
|
|
if ("20".equals(orderPackageStatus) || "30".equals(orderPackageStatus)) { |
|
|
|
|
log.warn("##############unloadPackage: 包件已入库 orderPackageCode={} warehouseId={}", orderPackageCode, warehouseId); |
|
|
|
|
return Resp.scanFail(200,"包件已入库", "包件已入库"); |
|
|
|
|
} |
|
|
|
|
// String orderPackageStatus = distributionParcelListEntity.getOrderPackageStatus();
|
|
|
|
|
// if ("20".equals(orderPackageStatus) || "30".equals(orderPackageStatus)) {
|
|
|
|
|
// log.warn("##############unloadPackage: 包件已入库 orderPackageCode={} warehouseId={}", orderPackageCode, warehouseId);
|
|
|
|
|
// return Resp.scanFail(200,"包件已入库", "包件已入库");
|
|
|
|
|
// }
|
|
|
|
|
log.warn("##############unloadPackage: 包件已入库 orderPackageCode={} warehouseId={}", orderPackageCode, warehouseId); |
|
|
|
|
return Resp.scanFail(200,"包件已入库", "包件已入库"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|