budget & project apis: bruh

This commit is contained in:
HAPFEX
2025-11-17 16:28:42 +07:00
parent a0295a160c
commit b31682c041
6 changed files with 90 additions and 8 deletions

View File

@@ -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