budget & project apis: bruh
This commit is contained in:
@@ -6,7 +6,7 @@ export class BudgetSearchService {
|
||||
this.generalService = new GeneralService()
|
||||
}
|
||||
|
||||
async getBudgetSearch(database, id, column, condition) {
|
||||
async getBudgetSearch(database, column, condition) {
|
||||
const sql = `
|
||||
SELECT
|
||||
${column}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import { GeneralService } from '../share/generalservice.js'
|
||||
|
||||
export class ProjectSearchService {
|
||||
|
||||
constructor() {
|
||||
this.generalService = new GeneralService()
|
||||
}
|
||||
|
||||
async getProjectSearch(database, id, column, condition) {
|
||||
const sql = `
|
||||
SELECT
|
||||
${column}
|
||||
FROM ${database}.prjmst
|
||||
WHERE 1=1
|
||||
`
|
||||
const params = []
|
||||
const result = await this.generalService.executeQueryConditions(database, sql, condition);
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
// bdgseq,
|
||||
// bdgnam,
|
||||
// bdgcod,
|
||||
// bdgttl,
|
||||
// bdgedtdtm
|
||||
Reference in New Issue
Block a user