-เขียนผิด
This commit is contained in:
@@ -31,15 +31,15 @@ export class budgetSearch {
|
||||
let id = decoded.id
|
||||
let username = decoded.name
|
||||
database = decoded.organization
|
||||
let columnParams = req.query.collumn
|
||||
let columnParams = req.query.column
|
||||
var column = ""
|
||||
if(columnParams == 'edit'){
|
||||
column = `bdgseq, bdgnam, bdgcod, bdgttl`
|
||||
} else if(columnParams == 'result' || columnParams == undefined || columnParams == ''){
|
||||
column = `bdgnam, bdgttl`
|
||||
}
|
||||
aryResult = await this.budgetSearchService.getBudgetSearch(database, id, column); // เช็คกับ db กลาง ส่ง jwttoken ออกมา
|
||||
// this.generalService.devhint(1, 'budgetSearch.js', 'Login success');
|
||||
aryResult = await this.budgetSearchService.getBudgetSearch(database, id, column);
|
||||
|
||||
} catch (error) {
|
||||
idx = 1;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user