Browse Source

1.干线提货逻辑修改

dist.1.3.0
zhenghaoyu 8 months ago
parent
commit
6be9147ab4
  1. 3
      blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineBillladingWaybillEntity.java
  2. 3
      blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseWaybillEntity.java
  3. 2
      blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseWaybillVO.java
  4. 3
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineBillladingMapper.xml
  5. 5
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineBillladingServiceImpl.java

3
blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/entity/TrunklineBillladingWaybillEntity.java

@ -57,6 +57,9 @@ public class TrunklineBillladingWaybillEntity extends TenantEntity {
/** 提货费用 */
@ApiModelProperty(name = "提货费用",notes = "")
private BigDecimal billladingFee ;
/** 计划件数 */
@ApiModelProperty(name = "计划件数",notes = "")
private Integer planNum ;
}

3
blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/WarehouseWaybillEntity.java

@ -489,4 +489,7 @@ public class WarehouseWaybillEntity extends TenantEntity {
@ApiModelProperty(value = "冻结时间 ")
private Date freezeTime;
@ApiModelProperty(value = "提货件数 ")
private Integer billladingNum;
}

2
blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/WarehouseWaybillVO.java

@ -39,6 +39,8 @@ public class WarehouseWaybillVO extends WarehouseWaybillEntity {
private Integer handleNum;
private Integer planNum;
private Long waybillId;
}

3
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineBillladingMapper.xml

@ -94,6 +94,7 @@
lww.customer_train customerTrain,
lww.shipper shipper,
lww.total_count totalCount,
lww.total_count-lww.billlading_num planNum,
lww.total_weight totalWeight,
lww.total_volume totalVolume,
lww.total_freight totalFreight,
@ -105,7 +106,7 @@
lww.destination_warehouse_name destinationWarehouseName,
lww.remark remark
from logpm_warehouse_waybill lww
where lww.stock_count != total_count
where lww.billlading_num != lww.total_count
and lww.departure_warehouse_id = #{param.warehouseId}
<if test="param.waybillNos != null and @org.apache.commons.collections4.CollectionUtils@isNotEmpty(param.waybillNos)">
and lww.waybill_no not in

5
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineBillladingServiceImpl.java

@ -116,9 +116,14 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
billladingWaybillEntity.setRealWeight(BigDecimal.ZERO);
billladingWaybillEntity.setRealVolume(BigDecimal.ZERO);
billladingWaybillEntity.setBillladingFee(BigDecimal.ZERO);
billladingWaybillEntity.setPlanNum(billladingWaybillVO.getPlanNum());
billladingWaybillService.save(billladingWaybillEntity);
}
//
TrunklineBillladingLogEntity logEntity = new TrunklineBillladingLogEntity();
logEntity.setWarehouseId(warehouseId);

Loading…
Cancel
Save