Browse Source

自提提交完结备货任务

pull/7/head
汤建军 10 months ago
parent
commit
24c903847a
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupInfoServiceImpl.java
  2. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupInfoServiceImpl.java

@ -128,7 +128,6 @@ public class DistributionStockupInfoServiceImpl extends BaseServiceImpl<Distribu
//查询备货任务错误的原因
log.error(method+"预约单关联备货任务错误reservationId:{}",reservationId);
}
break;
case 2:
List<DistributionStockupInfoEntity> billLadingentityList = this.list(Wrappers.<DistributionStockupInfoEntity>query().lambda()
.eq(DistributionStockupInfoEntity::getReservationId, reservationId)
@ -143,7 +142,6 @@ public class DistributionStockupInfoServiceImpl extends BaseServiceImpl<Distribu
}else {
log.error(method+"预约单关联备货任务错误reservationId:{}",reservationId);
}
break;
default:
List<DistributionStockupInfoEntity> stockupInfoEntityList = this.list(Wrappers.<DistributionStockupInfoEntity>query().lambda()
.eq(DistributionStockupInfoEntity::getStockupId, distributionStockupInfoEntity.getStockupId())

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

@ -2157,6 +2157,8 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
billLadingEntity.setConditions(BillLadingStatusConstant.yiqianshou.getValue());
billLadingEntity.setId(Long.parseLong(s));
this.updateById(billLadingEntity);
//完成备货状态
distributionStockupInfoService.maintenanceStockUp(Long.parseLong(s),2);
//查询自提单是否完成扫描
Integer integer = this.selectBillLadingPlanNum(Long.parseLong(s));
List<DistributionBillLadingScanEntity> ladingScanEntities = distributionBillLadingScanService.list(Wrappers.<DistributionBillLadingScanEntity>query().lambda().eq(DistributionBillLadingScanEntity::getBillLadingId, Long.parseLong(s)));

Loading…
Cancel
Save