-ระบบ column

This commit is contained in:
2025-11-17 15:21:33 +07:00
parent c5e751a2ea
commit f4fd33c59a
2 changed files with 18 additions and 10 deletions

View File

@@ -6,18 +6,20 @@ export class BudgetSearchService {
this.generalService = new GeneralService()
}
async getBudgetSearch(database, id) {
async getBudgetSearch(database, id, column) {
const sql = `
SELECT
bdgseq,
bdgnam,
bdgcod,
bdgttl,
bdgedtdtm
${column}
FROM ${database}.bdgmst
`
const params = []
const result = await this.generalService.executeQueryParam(database, sql, params);
return result
}
}
}
// bdgseq,
// bdgnam,
// bdgcod,
// bdgttl,
// bdgedtdtm