updated controller of manage-clients

This commit is contained in:
Kallesh B S 2025-04-03 16:26:38 +05:30
parent cfa37000e9
commit 1b7d5b8554
3 changed files with 4 additions and 5 deletions

View File

@ -22,7 +22,6 @@ export class OracleDBService {
async getConnection(): Promise<cob> { async getConnection(): Promise<cob> {
const connection = await this.pool.getConnection(); const connection = await this.pool.getConnection();
console.log('Database connection initialized successfully for oracle.');
return connection; return connection;
} }
} }

View File

@ -71,7 +71,7 @@ export class ManageClientsController {
GetPreparerContactsByClientid( GetPreparerContactsByClientid(
@Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO, @Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO,
) { ) {
return body; return this.manageClientsService.GetPreparerContactsByClientid(body);
} }
@ApiTags('Manage Clients - Oracle') @ApiTags('Manage Clients - Oracle')
@ -79,6 +79,6 @@ export class ManageClientsController {
GetPreparerLocByClientid( GetPreparerLocByClientid(
@Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO, @Query() body: GetPreparerByClientidContactsByClientidLocByClientidDTO,
) { ) {
return body; return this.manageClientsService.GetPreparerLocByClientid(body);
} }
} }

View File

@ -29,8 +29,8 @@ export class ParamTableService {
const result = await connection.execute( const result = await connection.execute(
`BEGIN `BEGIN
MANAGEPARAMTABLE_PKG.GETPARAMVALUES(:P_SPID,:P_PARAMTYPE,:p_cursor); MANAGEPARAMTABLE_PKG.GETPARAMVALUES(:P_SPID,:P_PARAMTYPE,:p_cursor);
END;`, END;`,
{ {
P_SPID: { P_SPID: {
val: finalBody.P_SPID, val: finalBody.P_SPID,