Finish Hotfix-74
This commit is contained in:
@@ -306,6 +306,11 @@ public class OrdiniAcquistoExportServices {
|
||||
}
|
||||
|
||||
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);
|
||||
if (codiceTerminale.substring(0, 1).compareTo("C") == 0) {
|
||||
codiceTerminale = codiceTerminale.substring(1);
|
||||
|
||||
@@ -451,9 +451,8 @@ public class OrtoFruttaProductionService {
|
||||
.setActivityId(activityId)
|
||||
.setCodDtip(codDtip)
|
||||
.setDataDoc(UtilityLocalDate.localDateToDate(dto.getDataDocProvv()))
|
||||
.setNumDoc(dto.getNumDocProvv())
|
||||
.setCodAnag(dto.getCodAnag())
|
||||
.setSerDoc(UtilityString.isNull(dto.getSerDocProvv(), serDoc))
|
||||
.setSerDoc(serDoc)
|
||||
.setDataOrd(dataOrd)
|
||||
.setNumOrd(dto.getNumOrd())
|
||||
.setCodProd(dto.getCodMart())
|
||||
|
||||
@@ -11,6 +11,10 @@ public class CertificatiSinfoOneDTO {
|
||||
private String codAnag;
|
||||
@SqlField("ragSoc")
|
||||
private String ragSoc;
|
||||
@SqlField("produttore")
|
||||
private String produttore;
|
||||
@SqlField("op")
|
||||
private String op;
|
||||
@SqlField("codVdes")
|
||||
private String codVdes;
|
||||
@SqlField("dataCert")
|
||||
@@ -74,6 +78,24 @@ public class CertificatiSinfoOneDTO {
|
||||
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() {
|
||||
return codVdes;
|
||||
}
|
||||
|
||||
@@ -217,6 +217,8 @@ public class ExchangeColliImportService {
|
||||
" data_cert AS dataCert,\n" +
|
||||
" CONVERT(NUMERIC(10, 0), num_cert) AS numCert,\n" +
|
||||
" data_bolla AS dataBolla,\n" +
|
||||
" produttore AS produttore,\n" +
|
||||
" OP AS op,\n" +
|
||||
" TRIM(num_bolla) AS numBolla,\n" +
|
||||
" TRIM(PMB_TIPO_POMODORO) AS codMart,\n" +
|
||||
" TRIM(PMB_SEME) AS varieta,\n" +
|
||||
|
||||
Reference in New Issue
Block a user