Aggiunto ordinamento per cod_anag desc in acquisizione codice fornitore fatture passive
This commit is contained in:
@@ -262,7 +262,7 @@ public class PassiveInvoiceRecapObject {
|
||||
if (multiDBTransactionManager != null) {
|
||||
String getGtbAnag = "SELECT top 1 gtb_anag.cod_anag, gtb_anag.rag_soc " +
|
||||
" FROM gtb_anag INNER JOIN atb_forn ON gtb_anag.cod_anag = atb_forn.cod_anag " +
|
||||
" WHERE part_iva = " + UtilityDB.valueToString(partitaIva) + " AND atb_forn.flag_stato = 'A' ";
|
||||
" WHERE part_iva = " + UtilityDB.valueToString(partitaIva) + " AND atb_forn.flag_stato = 'A' order by gtb_anag.cod_anag DESC ";
|
||||
PreparedStatement ps = multiDBTransactionManager.prepareStatement(getGtbAnag);
|
||||
ResultSet rs = ps.executeQuery();
|
||||
if (rs.next()) {
|
||||
|
||||
Reference in New Issue
Block a user