-ระบบ column
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user