Merge branch 'master' into develop
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:
@@ -145,11 +145,13 @@ public class DistribuzioneColliService {
|
||||
whereCondOrd = jsonNode.get("whereCond").asText();
|
||||
}
|
||||
|
||||
if (whereCondOrd != null) {
|
||||
whereCondOrd = whereCondOrd
|
||||
.replaceAll("d\\.g", "dtb_ordt.gestione")
|
||||
.replaceAll("d\\.d", "dtb_ordt.data_ord")
|
||||
.replaceAll("d\\.n", "dtb_ordt.num_ord")
|
||||
.replaceAll("dr\\.dc", "dtb_ordr.data_cons");
|
||||
}
|
||||
} else {
|
||||
StringBuffer xmlFilter = new StringBuffer();
|
||||
StringBuffer xmlParameter = new StringBuffer();
|
||||
@@ -243,6 +245,8 @@ public class DistribuzioneColliService {
|
||||
" WHERE " + whereCondOrd;
|
||||
|
||||
List<DtbOrdt> orderTestate = UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), dtbOrdrSql, DtbOrdt.class, 30);
|
||||
if (orderTestate == null) orderTestate = new ArrayList<>();
|
||||
|
||||
List<DtbOrdr> orderRows = UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), dtbOrdrSql, DtbOrdr.class, 30);
|
||||
if (orderRows == null) orderRows = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user