|
|
@ -106,6 +106,8 @@ public class TrunklineWaybillPackageServiceImpl extends BaseServiceImpl<Trunklin |
|
|
|
|
|
|
|
|
|
|
|
WarehouseWaybillEntity updateEntity = new WarehouseWaybillEntity(); |
|
|
|
WarehouseWaybillEntity updateEntity = new WarehouseWaybillEntity(); |
|
|
|
updateEntity.setId(waybillEntity.getId()); |
|
|
|
updateEntity.setId(waybillEntity.getId()); |
|
|
|
|
|
|
|
Integer signNum = waybillEntity.getSignNum(); |
|
|
|
|
|
|
|
if(signNum == 0){ |
|
|
|
if(totalCount == num){ |
|
|
|
if(totalCount == num){ |
|
|
|
if(packageStatus == 0){ |
|
|
|
if(packageStatus == 0){ |
|
|
|
updateEntity.setWaybillStatus("0"); |
|
|
|
updateEntity.setWaybillStatus("0"); |
|
|
@ -117,8 +119,6 @@ public class TrunklineWaybillPackageServiceImpl extends BaseServiceImpl<Trunklin |
|
|
|
updateEntity.setWaybillStatus("60"); |
|
|
|
updateEntity.setWaybillStatus("60"); |
|
|
|
}else if(packageStatus == 40){ |
|
|
|
}else if(packageStatus == 40){ |
|
|
|
updateEntity.setWaybillStatus("80"); |
|
|
|
updateEntity.setWaybillStatus("80"); |
|
|
|
}else if(packageStatus == 50){ |
|
|
|
|
|
|
|
updateEntity.setWaybillStatus("100"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
if(packageStatus == 0){ |
|
|
|
if(packageStatus == 0){ |
|
|
@ -131,7 +131,12 @@ public class TrunklineWaybillPackageServiceImpl extends BaseServiceImpl<Trunklin |
|
|
|
updateEntity.setWaybillStatus("50"); |
|
|
|
updateEntity.setWaybillStatus("50"); |
|
|
|
}else if(packageStatus == 40){ |
|
|
|
}else if(packageStatus == 40){ |
|
|
|
updateEntity.setWaybillStatus("70"); |
|
|
|
updateEntity.setWaybillStatus("70"); |
|
|
|
}else if(packageStatus == 50){ |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
if(signNum == totalCount){ |
|
|
|
|
|
|
|
updateEntity.setWaybillStatus("100"); |
|
|
|
|
|
|
|
}else{ |
|
|
|
updateEntity.setWaybillStatus("90"); |
|
|
|
updateEntity.setWaybillStatus("90"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -139,7 +144,7 @@ public class TrunklineWaybillPackageServiceImpl extends BaseServiceImpl<Trunklin |
|
|
|
}else if(waybillType == 2){ |
|
|
|
}else if(waybillType == 2){ |
|
|
|
WarehouseWaybillEntity updateEntity = new WarehouseWaybillEntity(); |
|
|
|
WarehouseWaybillEntity updateEntity = new WarehouseWaybillEntity(); |
|
|
|
updateEntity.setId(waybillEntity.getId()); |
|
|
|
updateEntity.setId(waybillEntity.getId()); |
|
|
|
Integer signNum = distributionStockArticleClient.findSignNumByWaybillNo(waybillNo,destinationWarehouseId); |
|
|
|
Integer signNum = waybillEntity.getSignNum(); |
|
|
|
if(signNum != 0){ |
|
|
|
if(signNum != 0){ |
|
|
|
if(signNum == totalCount){ |
|
|
|
if(signNum == totalCount){ |
|
|
|
updateEntity.setWaybillStatus("100"); |
|
|
|
updateEntity.setWaybillStatus("100"); |
|
|
|