Corretta impostazione note createULLavorazione

(cherry picked from commit 83d2f329ce)
This commit is contained in:
2025-11-13 18:33:59 +01:00
parent 1b339289c1
commit a9ce0d82b6
5 changed files with 16 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ public class CreateUDCProduzioneRequestDTO {
private BigDecimal numCnf;
private String partitaMag;
private String annotazioni;
private String note;
private String codDtipProvv;
private String preparatoDa;
@@ -206,12 +206,12 @@ public class CreateUDCProduzioneRequestDTO {
return this;
}
public String getAnnotazioni() {
return annotazioni;
public String getNote() {
return note;
}
public CreateUDCProduzioneRequestDTO setAnnotazioni(String annotazioni) {
this.annotazioni = annotazioni;
public CreateUDCProduzioneRequestDTO setNote(String note) {
this.note = note;
return this;
}

View File

@@ -805,7 +805,7 @@ public class MesProductionServiceV2 {
.setQtaCnf(request.getQtaCnf())
.setNumCnf(request.getNumCnf())
.setDatetimeRow(request.getCustomDataVersamento())
.setAnnotazioni(request.getAnnotazioni())
.setNote(request.getNote())
.setNumEtich(Math.max(request.getNumEtich(), 0)));
@@ -1206,7 +1206,7 @@ public class MesProductionServiceV2 {
.setNumEtich(dto.getNumEtich())
.setQta(dto.getQtaCollo())
.setRigaOrd(UtilityInteger.isNull(dto.getRigaOrd(), 0))
.setAnnotazioni(dto.getNote());
.setNote(dto.getNote());
udc = createULLavorazione(createUdcRequest);
udcRow = udc.getMtbColr().get(0);

View File

@@ -299,7 +299,9 @@ public class WMSUtility {
.setCodDtipDoc(insertUDCRowRequestDTO.getCodDtip())
.setSerDoc(insertUDCRowRequestDTO.getSerDoc())
.setDatetimeRow(UtilityLocalDate.isNull(insertUDCRowRequestDTO.getDatetimeRow(), UtilityLocalDate.getNowTime()));
.setDatetimeRow(UtilityLocalDate.isNull(insertUDCRowRequestDTO.getDatetimeRow(), UtilityLocalDate.getNowTime()))
.setNote(insertUDCRowRequestDTO.getNote())
.setNumEtich(insertUDCRowRequestDTO.getNumEtich());
if (insertUDCRowRequestDTO.getCodMart() != null) {

View File

@@ -313,6 +313,7 @@ public class WMSAccettazioneService {
.setSerDoc(insertUDCRowRequestDTO.getSerDoc())
.setDatetimeRow(UtilityLocalDate.getNowTime())
.setNote(insertUDCRowRequestDTO.getNote())
.setNumEtich(insertUDCRowRequestDTO.getNumEtich());

View File

@@ -32,7 +32,7 @@ public class InsertUDCRowRequestDTO {
private String codDtip;
private String fullName;
private String annotazioni;
private String note;
private Integer numEtich;
public MtbColt getTargetMtbColt() {
@@ -215,12 +215,12 @@ public class InsertUDCRowRequestDTO {
return this;
}
public String getAnnotazioni() {
return annotazioni;
public String getNote() {
return note;
}
public InsertUDCRowRequestDTO setAnnotazioni(String annotazioni) {
this.annotazioni = annotazioni;
public InsertUDCRowRequestDTO setNote(String note) {
this.note = note;
return this;
}