feat(datamart): initial get active query migrated

This commit is contained in:
2025-04-01 16:20:18 -05:00
parent ee3026fa7c
commit 44507d41c4
12 changed files with 565 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import { query } from "../../sqlServer/prodSqlServer.js";
import { activeArticle } from "../../sqlServer/querys/dataMart/article.js";
export const getActiveAv = async () => {
let articles: any = [];
try {
articles = await query(activeArticle, "Get active articles");
} catch (error) {
articles = error;
}
return articles;
};