Finish Hotfix-1
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -467,6 +467,7 @@ public class WMSSpedizioneService {
|
||||
.setDataVers(null)
|
||||
.setDataOrd(null)
|
||||
.setNumOrd(null)
|
||||
.setBarcodeUl(null)
|
||||
.setOperation(OperationType.INSERT);
|
||||
|
||||
mtbColt.getMtbColr().stream().peek(x -> {
|
||||
|
||||
Reference in New Issue
Block a user