updated controller of manage-clients
This commit is contained in:
parent
cfa37000e9
commit
1b7d5b8554
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user