sistemata query
This commit is contained in:
@@ -1548,7 +1548,7 @@ public class ActivityService {
|
||||
public List<OldUpdateDTO> getOldUpdate() throws Exception {
|
||||
String sql = "WITH commesse AS (SELECT cod_jcom,\n" +
|
||||
" jtb_comt.cod_anag,\n" +
|
||||
" ROW_NUMBER() OVER (PARTITION BY jtb_comt.cod_anag ORDER BY cod_jcom DESC, servers.updated_at DESC, , vtb_clie.flag_stato) AS conta,\n" +
|
||||
" ROW_NUMBER() OVER (PARTITION BY jtb_comt.cod_anag ORDER BY cod_jcom DESC, servers.updated_at DESC, vtb_clie.flag_stato) AS conta,\n" +
|
||||
" servers.last_update,\n" +
|
||||
" gtb_anag.rag_soc\n" +
|
||||
" FROM jtb_comt\n" +
|
||||
|
||||
Reference in New Issue
Block a user