Finish Hotfix-1
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-12-10 12:19:31 +01:00
3 changed files with 9 additions and 2 deletions

View File

@@ -504,6 +504,10 @@ public class WMSUtility {
public static InsertUDCRowResponseDTO insertUDCRow(InsertUDCRowRequestDTO insertUDCRowRequestDTO, EntityProcessor entityProcessor, MultiDBTransactionManager multiDBTransactionManager) throws Exception {
MtbColt targetMtbColt = insertUDCRowRequestDTO.getTargetMtbColt();
if (targetMtbColt == null)
throw new MissingDataException("UL di destinazione non presente");
targetMtbColt.setOperation(OperationType.SELECT_OBJECT);
entityProcessor.processEntity(targetMtbColt, true, multiDBTransactionManager);

View File

@@ -85,7 +85,7 @@ public class WMSAccettazioneService {
.setCodVdes(createUDCRequestDTO.getCodVdes())
.setDataCollo(createUDCRequestDTO.getDataCollo())
.setOraInizPrep(new Date())
.setPreparatoDa(requestDataDTO.getUsername())
.setPreparatoDa(userSession.getUsername())
.setPosizione(UtilityString.isNullOrEmpty(createUDCRequestDTO.getPosizione()) ? defaultPosizioneColliAccettazione : createUDCRequestDTO.getPosizione())
.setCodTcol(createUDCRequestDTO.getCodTcol())
.setAnnotazioni(createUDCRequestDTO.getAnnotazioni())
@@ -162,7 +162,9 @@ public class WMSAccettazioneService {
udcMtbColt.setOperation(OperationType.INSERT);
entityProcessor.processEntity(udcMtbColt, multiDBTransactionManager);
udcMtbColt.setOnlyPkMaster(false);
udcMtbColt
.setMtbCols(new ArrayList<>())
.setOnlyPkMaster(false);
return udcMtbColt;
}

View File

@@ -467,6 +467,7 @@ public class WMSSpedizioneService {
.setDataVers(null)
.setDataOrd(null)
.setNumOrd(null)
.setBarcodeUl(null)
.setOperation(OperationType.INSERT);
mtbColt.getMtbColr().stream().peek(x -> {