import { GeneralService } from '../share/generalservice.js'

export class TransactionSearchService {

  constructor() {
    this.generalService = new GeneralService()
  }

  async getTransactionSearch(database, column, condition) {
    const sql = `
      SELECT 
       ${column}
      FROM ${database}.bdgmst
      WHERE 1=1
      `
    const params = []
    const result = await this.generalService.executeQueryConditions(database, sql, condition);
    return result
  }
}

//  bdgseq,
//         bdgnam,
//         bdgcod,
//         bdgttl,
//         bdgedtdtm