Aggiunto parametro ID in fase di SaveTerminalino in Documenti Interni
This commit is contained in:
parent
5728481a94
commit
d839d94d34
@ -17,6 +17,8 @@ public class SaveDTO {
|
||||
private ColloDTO colloDTO;
|
||||
private InventarioDTO inventarioDTO;
|
||||
|
||||
private String UUID;
|
||||
|
||||
public String getGestione() {
|
||||
return gestione;
|
||||
}
|
||||
@ -112,4 +114,13 @@ public class SaveDTO {
|
||||
public void setInventarioDTO(InventarioDTO inventarioDTO) {
|
||||
this.inventarioDTO = inventarioDTO;
|
||||
}
|
||||
|
||||
public String getUUID() {
|
||||
return UUID;
|
||||
}
|
||||
|
||||
public SaveDTO setUUID(String UUID) {
|
||||
this.UUID = UUID;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
@ -202,6 +202,7 @@ public class DocInterniEditFormViewModel {
|
||||
private SaveDTO getSaveDto() {
|
||||
SqlMtbColt document = this.getDocument();
|
||||
SaveDTO saveDTO = new SaveDTO();
|
||||
saveDTO.setUUID(String.valueOf(document.getId()));
|
||||
saveDTO.setIdDisp("1");
|
||||
saveDTO.setGestione(document.getGestione());
|
||||
saveDTO.setCodMdep(document.getCodMdep());
|
||||
|
||||
@ -417,7 +417,6 @@ public class PVOrdineAcquistoEditViewModel {
|
||||
|
||||
addArtToOrder.run(newArt);
|
||||
|
||||
|
||||
}, this::sendError);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user