Finish Hotfix-74
This commit is contained in:
@@ -306,6 +306,11 @@ public class OrdiniAcquistoExportServices {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int pos = intercode.indexOf("|");
|
int pos = intercode.indexOf("|");
|
||||||
|
|
||||||
|
if (pos < 0){
|
||||||
|
throw new Exception("L'intercode presente sul deposito associato all'ordine non è formato correttamente (intercode: "+intercode+").");
|
||||||
|
}
|
||||||
|
|
||||||
String codiceTerminale = intercode.substring(0, pos);
|
String codiceTerminale = intercode.substring(0, pos);
|
||||||
if (codiceTerminale.substring(0, 1).compareTo("C") == 0) {
|
if (codiceTerminale.substring(0, 1).compareTo("C") == 0) {
|
||||||
codiceTerminale = codiceTerminale.substring(1);
|
codiceTerminale = codiceTerminale.substring(1);
|
||||||
|
|||||||
@@ -451,9 +451,8 @@ public class OrtoFruttaProductionService {
|
|||||||
.setActivityId(activityId)
|
.setActivityId(activityId)
|
||||||
.setCodDtip(codDtip)
|
.setCodDtip(codDtip)
|
||||||
.setDataDoc(UtilityLocalDate.localDateToDate(dto.getDataDocProvv()))
|
.setDataDoc(UtilityLocalDate.localDateToDate(dto.getDataDocProvv()))
|
||||||
.setNumDoc(dto.getNumDocProvv())
|
|
||||||
.setCodAnag(dto.getCodAnag())
|
.setCodAnag(dto.getCodAnag())
|
||||||
.setSerDoc(UtilityString.isNull(dto.getSerDocProvv(), serDoc))
|
.setSerDoc(serDoc)
|
||||||
.setDataOrd(dataOrd)
|
.setDataOrd(dataOrd)
|
||||||
.setNumOrd(dto.getNumOrd())
|
.setNumOrd(dto.getNumOrd())
|
||||||
.setCodProd(dto.getCodMart())
|
.setCodProd(dto.getCodMart())
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ public class CertificatiSinfoOneDTO {
|
|||||||
private String codAnag;
|
private String codAnag;
|
||||||
@SqlField("ragSoc")
|
@SqlField("ragSoc")
|
||||||
private String ragSoc;
|
private String ragSoc;
|
||||||
|
@SqlField("produttore")
|
||||||
|
private String produttore;
|
||||||
|
@SqlField("op")
|
||||||
|
private String op;
|
||||||
@SqlField("codVdes")
|
@SqlField("codVdes")
|
||||||
private String codVdes;
|
private String codVdes;
|
||||||
@SqlField("dataCert")
|
@SqlField("dataCert")
|
||||||
@@ -74,6 +78,24 @@ public class CertificatiSinfoOneDTO {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getProduttore() {
|
||||||
|
return produttore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CertificatiSinfoOneDTO setProduttore(String produttore) {
|
||||||
|
this.produttore = produttore;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOp() {
|
||||||
|
return op;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CertificatiSinfoOneDTO setOp(String op) {
|
||||||
|
this.op = op;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public String getCodVdes() {
|
public String getCodVdes() {
|
||||||
return codVdes;
|
return codVdes;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -217,6 +217,8 @@ public class ExchangeColliImportService {
|
|||||||
" data_cert AS dataCert,\n" +
|
" data_cert AS dataCert,\n" +
|
||||||
" CONVERT(NUMERIC(10, 0), num_cert) AS numCert,\n" +
|
" CONVERT(NUMERIC(10, 0), num_cert) AS numCert,\n" +
|
||||||
" data_bolla AS dataBolla,\n" +
|
" data_bolla AS dataBolla,\n" +
|
||||||
|
" produttore AS produttore,\n" +
|
||||||
|
" OP AS op,\n" +
|
||||||
" TRIM(num_bolla) AS numBolla,\n" +
|
" TRIM(num_bolla) AS numBolla,\n" +
|
||||||
" TRIM(PMB_TIPO_POMODORO) AS codMart,\n" +
|
" TRIM(PMB_TIPO_POMODORO) AS codMart,\n" +
|
||||||
" TRIM(PMB_SEME) AS varieta,\n" +
|
" TRIM(PMB_SEME) AS varieta,\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user