Aggiunta qta in arrivo nella retrieve della situazione ordini
This commit is contained in:
parent
d9306e13c2
commit
96bd5d516c
@ -61,7 +61,10 @@ public class OrdiniRESTConsumer extends _BaseRESTConsumer {
|
|||||||
.filter(x -> !UtilityString.isNullOrEmpty(x.getPartitaMag()))
|
.filter(x -> !UtilityString.isNullOrEmpty(x.getPartitaMag()))
|
||||||
.forEach(x -> {
|
.forEach(x -> {
|
||||||
|
|
||||||
if (!Stream.of(batchLotsToSearch).anyMatch(batchLotToSearch -> batchLotToSearch.getCodMart().equalsIgnoreCase(x.getCodMart()) && batchLotToSearch.getPartitaMag().equalsIgnoreCase(x.getPartitaMag()))) {
|
if (!Stream.of(batchLotsToSearch)
|
||||||
|
.anyMatch(batchLotToSearch ->
|
||||||
|
batchLotToSearch.getCodMart().equalsIgnoreCase(x.getCodMart()) &&
|
||||||
|
batchLotToSearch.getPartitaMag().equalsIgnoreCase(x.getPartitaMag()))) {
|
||||||
MtbPartitaMag mtbPartitaMag = new MtbPartitaMag()
|
MtbPartitaMag mtbPartitaMag = new MtbPartitaMag()
|
||||||
.setCodMart(x.getCodMart())
|
.setCodMart(x.getCodMart())
|
||||||
.setPartitaMag(x.getPartitaMag());
|
.setPartitaMag(x.getPartitaMag());
|
||||||
|
|||||||
@ -28,6 +28,7 @@ public class SitArtOrdDTO {
|
|||||||
private String descrizioneMsfa;
|
private String descrizioneMsfa;
|
||||||
private String untord;
|
private String untord;
|
||||||
private BigDecimal qtaOmg;
|
private BigDecimal qtaOmg;
|
||||||
|
private BigDecimal qtaArrivo;
|
||||||
|
|
||||||
private final HashMap<String, Object> extraInfo = new HashMap<>();
|
private final HashMap<String, Object> extraInfo = new HashMap<>();
|
||||||
|
|
||||||
@ -232,4 +233,13 @@ public class SitArtOrdDTO {
|
|||||||
this.qtaOmg = qtaOmg;
|
this.qtaOmg = qtaOmg;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BigDecimal getQtaArrivo() {
|
||||||
|
return qtaArrivo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SitArtOrdDTO setQtaArrivo(BigDecimal qtaArrivo) {
|
||||||
|
this.qtaArrivo = qtaArrivo;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user