2025-03-01 11:18:38 +05:30
|
|
|
import { Body, Controller, Get, Param, ParseIntPipe, Patch, Post, Put, Query, UsePipes } from '@nestjs/common';
|
2025-02-25 13:18:33 +05:30
|
|
|
import { OracleService } from './oracle.service';
|
2025-03-05 15:37:44 +05:30
|
|
|
import { CreateBasicFeeDTO, CreateBondRateDTO, CreateCargoRateDTO, CreateCarnetSequenceDTO, CreateCfFeeDTO, CreateCsFeeDTO, CreateEfFeeDTO, CreateFeeCommDTO, CreateParamRecordDTO, CreateTableRecordDTO, InsertNewServiceProviderDTO, InsertRegionsDto, InsertSPContactsDTO, UpdateBasicFeeDTO, UpdateBondRateDTO, UpdateCargoRateDTO, UpdateCfFeeDTO, UpdateCsFeeDTO, UpdateEfFeeDTO, UpdateFeeCommDTO, UpdateParamRecordDTO, UpdateRegionDto, UpdateServiceProviderDTO, UpdateSPContactsDTO } from './oracle.dto';
|
2025-03-01 11:18:38 +05:30
|
|
|
import { ParamTableService } from './paramTable.service';
|
2025-03-04 16:41:02 +05:30
|
|
|
import { ManageFeeService } from './manageFee.service';
|
2025-03-07 12:52:51 +05:30
|
|
|
import { ApiOperation, ApiTags } from '@nestjs/swagger';
|
2025-02-25 13:18:33 +05:30
|
|
|
|
|
|
|
|
@Controller('oracle')
|
|
|
|
|
export class OracleController {
|
2025-03-01 11:18:38 +05:30
|
|
|
constructor(
|
|
|
|
|
private readonly oarcleService: OracleService,
|
2025-03-04 16:41:02 +05:30
|
|
|
private readonly paramTableService: ParamTableService,
|
|
|
|
|
private readonly manageFeeService: ManageFeeService) { }
|
2025-02-25 13:18:33 +05:30
|
|
|
|
2025-02-28 11:06:07 +05:30
|
|
|
// Regions
|
2025-03-07 12:52:51 +05:30
|
|
|
|
|
|
|
|
@ApiTags('Regions - Oracle')
|
2025-02-25 13:18:33 +05:30
|
|
|
@Post('/InsertRegions')
|
|
|
|
|
insertRegions(@Body() body: InsertRegionsDto) {
|
|
|
|
|
return this.oarcleService.insertRegions(body.p_region, body.p_name);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Regions - Oracle')
|
2025-02-25 13:18:33 +05:30
|
|
|
@Patch('/UpdateRegion')
|
|
|
|
|
updateRegions(@Body() body: UpdateRegionDto) {
|
2025-02-25 15:44:30 +05:30
|
|
|
return this.oarcleService.updateRegions(body.p_regionID, body.p_name);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Regions - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Get('/GetRegions')
|
|
|
|
|
getRegions() {
|
|
|
|
|
return this.oarcleService.getRegions();
|
2025-02-25 15:44:30 +05:30
|
|
|
}
|
|
|
|
|
|
2025-02-28 11:06:07 +05:30
|
|
|
// Service Provider [ SP ]
|
2025-02-27 11:02:31 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SP - Oracle')
|
2025-02-25 15:44:30 +05:30
|
|
|
@Post('/InsertNewServiceProvider')
|
|
|
|
|
insertNewServiceProvider(@Body() body: InsertNewServiceProviderDTO) {
|
2025-02-27 11:02:31 +05:30
|
|
|
return this.oarcleService.insertNewServiceProvider(
|
2025-02-25 15:44:30 +05:30
|
|
|
body.p_name,
|
|
|
|
|
body.p_lookupcode,
|
|
|
|
|
body.p_address1,
|
|
|
|
|
body.p_address2,
|
|
|
|
|
body.p_city,
|
|
|
|
|
body.p_state,
|
|
|
|
|
body.p_zip,
|
|
|
|
|
body.p_country,
|
|
|
|
|
body.p_issuingregion,
|
|
|
|
|
body.p_replacementregion,
|
|
|
|
|
body.p_bondsurety,
|
|
|
|
|
body.p_cargopolicyno,
|
|
|
|
|
body.p_cargosurety,
|
|
|
|
|
body.p_user_id
|
|
|
|
|
)
|
2025-02-25 13:18:33 +05:30
|
|
|
}
|
2025-02-27 11:02:31 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SP - Oracle')
|
2025-02-27 11:02:31 +05:30
|
|
|
@Put('/UpdateServiceProvider')
|
|
|
|
|
updateServiceProider(@Body() body: UpdateServiceProviderDTO) {
|
|
|
|
|
return this.oarcleService.updateServiceProvider(
|
|
|
|
|
body.p_spid,
|
|
|
|
|
body.p_name,
|
|
|
|
|
body.p_lookupcode,
|
|
|
|
|
body.p_address1,
|
|
|
|
|
body.p_address2,
|
|
|
|
|
body.p_city,
|
|
|
|
|
body.p_state,
|
|
|
|
|
body.p_zip,
|
|
|
|
|
body.p_country,
|
|
|
|
|
body.p_issuingregion,
|
|
|
|
|
body.p_replacementregion,
|
|
|
|
|
body.p_bondsurety,
|
|
|
|
|
body.p_cargopolicyno,
|
|
|
|
|
body.p_cargosurety,
|
|
|
|
|
body.p_user_id
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SP - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Get('/GetAllServiceproviders')
|
2025-02-28 11:06:07 +05:30
|
|
|
getAllServiceproviders() {
|
|
|
|
|
return this.oarcleService.getAllServiceproviders();
|
2025-02-27 11:02:31 +05:30
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SP - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Get('/GetSelectedServiceprovider/:id')
|
2025-03-01 11:18:38 +05:30
|
|
|
getSelectedServiceprovider(@Param('id', ParseIntPipe) id: number) {
|
2025-02-28 11:06:07 +05:30
|
|
|
return this.oarcleService.getServiceproviderByID(id);
|
2025-02-27 16:10:01 +05:30
|
|
|
}
|
|
|
|
|
|
2025-03-01 11:18:38 +05:30
|
|
|
|
2025-02-28 11:06:07 +05:30
|
|
|
// SPContacts
|
2025-03-01 11:18:38 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SPContacts - Oracle')
|
2025-02-27 16:10:01 +05:30
|
|
|
@Post('/InsertSPContacts')
|
2025-03-01 11:18:38 +05:30
|
|
|
insertSPContacts(@Body() body: InsertSPContactsDTO) {
|
2025-02-27 11:02:31 +05:30
|
|
|
return this.oarcleService.insertSPContacts(
|
|
|
|
|
body.p_spid,
|
2025-02-28 11:06:07 +05:30
|
|
|
body.p_defcontactflag,
|
2025-02-27 11:02:31 +05:30
|
|
|
body.p_firstname,
|
|
|
|
|
body.p_lastname,
|
|
|
|
|
body.p_title,
|
|
|
|
|
body.p_phoneno,
|
|
|
|
|
body.p_mobileno,
|
|
|
|
|
body.p_faxno,
|
|
|
|
|
body.p_emailaddress,
|
|
|
|
|
body.p_user_id
|
|
|
|
|
)
|
|
|
|
|
}
|
2025-02-27 15:22:33 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SPContacts - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Post('/SetSPDefaultcontact/:id')
|
2025-03-01 11:18:38 +05:30
|
|
|
setSPDefaultcontact(@Param('id', ParseIntPipe) id: number) {
|
2025-02-28 11:06:07 +05:30
|
|
|
return this.oarcleService.setSPDefaultcontact(id)
|
|
|
|
|
}
|
2025-03-01 11:18:38 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SPContacts - Oracle')
|
2025-02-27 16:10:01 +05:30
|
|
|
@Put('/UpdateSPContacts')
|
2025-03-01 11:18:38 +05:30
|
|
|
updateSPContacts(@Body() body: UpdateSPContactsDTO) {
|
2025-02-27 15:22:33 +05:30
|
|
|
return this.oarcleService.updateSPContacts(
|
|
|
|
|
body.p_spcontactid,
|
|
|
|
|
body.p_firstname,
|
|
|
|
|
body.p_lastname,
|
|
|
|
|
body.p_title,
|
|
|
|
|
body.p_phoneno,
|
|
|
|
|
body.p_mobileno,
|
|
|
|
|
body.p_faxno,
|
|
|
|
|
body.p_emailaddress,
|
|
|
|
|
body.p_user_id
|
|
|
|
|
)
|
|
|
|
|
}
|
2025-02-27 16:10:01 +05:30
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SPContacts - Oracle')
|
2025-02-27 16:10:01 +05:30
|
|
|
@Post('/InactivateSPContact/:id')
|
2025-03-01 11:18:38 +05:30
|
|
|
inactivateSPContact(@Param('id', ParseIntPipe) id: number) {
|
2025-02-27 16:10:01 +05:30
|
|
|
return this.oarcleService.inactivateSPContact(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('SPContacts - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Get('/GetSPDefaultcontact/:id')
|
2025-03-01 11:18:38 +05:30
|
|
|
getSPDefaultcontact(@Param('id', ParseIntPipe) id: number) {
|
2025-02-28 11:06:07 +05:30
|
|
|
return this.oarcleService.getSPDefaultcontacts(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-01 11:18:38 +05:30
|
|
|
// @Get('/GetAllSPcontacts')
|
|
|
|
|
// getSPcontacts() {
|
|
|
|
|
// return this.oarcleService.getSPcontacts();
|
|
|
|
|
// }
|
2025-02-28 11:06:07 +05:30
|
|
|
|
|
|
|
|
// Carnet Sequence
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Carnet Sequence - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Post('/CreateCarnetSequence/')
|
2025-03-01 11:18:38 +05:30
|
|
|
createCarnetSequence(@Body() body: CreateCarnetSequenceDTO) {
|
2025-02-28 11:06:07 +05:30
|
|
|
return this.oarcleService.createCarnetSequence(
|
|
|
|
|
body.p_spid,
|
|
|
|
|
body.p_regionid,
|
|
|
|
|
body.p_startnumber,
|
|
|
|
|
body.p_endnumber,
|
|
|
|
|
body.p_carnettype
|
2025-03-01 11:18:38 +05:30
|
|
|
)
|
2025-02-28 11:06:07 +05:30
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Carnet Sequence - Oracle')
|
2025-02-28 11:06:07 +05:30
|
|
|
@Get('/GetCarnetSequence/:id')
|
2025-03-01 11:18:38 +05:30
|
|
|
getCarnetSequence(@Param('id', ParseIntPipe) id: number) {
|
2025-02-28 11:06:07 +05:30
|
|
|
return this.oarcleService.getCarnetSequence(id)
|
|
|
|
|
}
|
2025-03-01 11:18:38 +05:30
|
|
|
|
|
|
|
|
// param table
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Get('/GetParamValues')
|
|
|
|
|
@UsePipes()
|
|
|
|
|
getParamValues(
|
|
|
|
|
@Query('id') id: string,
|
|
|
|
|
@Query('type') type: string
|
|
|
|
|
) {
|
|
|
|
|
return this.paramTableService.GETPARAMVALUES(id ? Number(id) : undefined, type);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Post('/CreateTableRecord')
|
|
|
|
|
createTableRecord(@Body() body: CreateTableRecordDTO) {
|
|
|
|
|
return this.paramTableService.CREATETABLERECORD(body.P_USERID, body.P_TABLEFULLDESC)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Post('/CreateParamRecord')
|
|
|
|
|
createParamRecord(@Body() body: CreateParamRecordDTO) {
|
|
|
|
|
return this.paramTableService.CREATEPARAMRECORD(
|
|
|
|
|
body.P_PARAMTYPE,
|
|
|
|
|
body.P_PARAMDESC,
|
|
|
|
|
body.P_PARAMVALUE,
|
|
|
|
|
body.P_SORTSEQ,
|
|
|
|
|
body.P_USERID,
|
|
|
|
|
body.P_SPID,
|
|
|
|
|
body.P_ADDLPARAMVALUE1,
|
|
|
|
|
body.P_ADDLPARAMVALUE2,
|
|
|
|
|
body.P_ADDLPARAMVALUE3,
|
|
|
|
|
body.P_ADDLPARAMVALUE4,
|
|
|
|
|
body.P_ADDLPARAMVALUE5,
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Patch('/UpdateParamRecord')
|
|
|
|
|
UpdateParamRecord(@Body() body: UpdateParamRecordDTO) {
|
|
|
|
|
return this.paramTableService.UPDATEPARAMRECORD(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Patch('/InActivateParamRecord')
|
|
|
|
|
inActivateParamRecord(@Query('pid') pid,@Query('uid') uid) {
|
|
|
|
|
return this.paramTableService.INACTIVATEPARAMRECORD(pid?Number(pid):pid,uid)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Param Table - Oracle')
|
2025-03-01 11:18:38 +05:30
|
|
|
@Patch('/ReActivateParamRecord')
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiOperation({ summary: 'Retrieve all users', description: 'This endpoint returns a list of all users.' })
|
2025-03-01 11:18:38 +05:30
|
|
|
reActivateParamRecord(@Query('pid') pid,@Query('uid') uid) {
|
|
|
|
|
return this.paramTableService.REACTIVATEPARAMRECORD(pid?Number(pid):pid,uid)
|
|
|
|
|
}
|
2025-03-04 16:41:02 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
// ManageFee
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateBasicFee')
|
|
|
|
|
CreateBasicFee(@Body() body: CreateBasicFeeDTO) {
|
|
|
|
|
return this.manageFeeService.CREATEBASICFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateBondRate')
|
|
|
|
|
CreateBondRate(@Body() body: CreateBondRateDTO) {
|
|
|
|
|
return this.manageFeeService.CREATEBONDRATE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateCargoRate')
|
|
|
|
|
CreateCargoRate(@Body() body: CreateCargoRateDTO) {
|
|
|
|
|
return this.manageFeeService.CREATECARGORATE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateCfFee')
|
|
|
|
|
CreateCfFee(@Body() body: CreateCfFeeDTO) {
|
|
|
|
|
return this.manageFeeService.CREATECFFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateCsFee')
|
|
|
|
|
CreateCsFee(@Body() body: CreateCsFeeDTO) {
|
|
|
|
|
return this.manageFeeService.CREATECSFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-04 16:41:02 +05:30
|
|
|
@Post('/CreateEfFee')
|
|
|
|
|
CreateEeFee(@Body() body: CreateEfFeeDTO) {
|
|
|
|
|
return this.manageFeeService.CREATEEFFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 12:16:27 +05:30
|
|
|
@Post('/CreateFeeComm')
|
|
|
|
|
CreateFeeComm(@Body() body: CreateFeeCommDTO) {
|
|
|
|
|
return this.manageFeeService.CREATEFEECOMM(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateBasicFee')
|
|
|
|
|
UpdateBasicFee(@Body() body: UpdateBasicFeeDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATEBASICFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateBondRate')
|
|
|
|
|
UpdateBondRate(@Body() body: UpdateBondRateDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATEBONDRATE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateCargoRate')
|
|
|
|
|
UpdateCargoRate(@Body() body: UpdateCargoRateDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATECARGORATE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateCfFee')
|
|
|
|
|
UpdateCfFee(@Body() body: UpdateCfFeeDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATECFFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateCsFee')
|
|
|
|
|
UpdateCsFee(@Body() body: UpdateCsFeeDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATECSFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateEfFee')
|
|
|
|
|
UpdateEfFee(@Body() body: UpdateEfFeeDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATEEFFEE(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-05 15:37:44 +05:30
|
|
|
@Patch('/UpdateFeeComm')
|
|
|
|
|
UpdateFeeComm(@Body() body: UpdateFeeCommDTO) {
|
|
|
|
|
return this.manageFeeService.UPDATEFEECOMM(body)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetBasicFeeRates/:id')
|
|
|
|
|
GetBasicFeeRates(@Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETBASICFEERATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetBondRates/:id')
|
|
|
|
|
GetBondRates( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETBONDRATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetCargoRates/:id')
|
|
|
|
|
GetCargoRates( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETCARGORATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetCfFeeRates/:id')
|
|
|
|
|
GetCfFeeRates( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETCFFEERATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetCsFeeRates/:id')
|
|
|
|
|
GetCsFeeRates( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETCSFEERATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetEfFeeRates/:id')
|
|
|
|
|
GetEfFeeRates( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETEFFEERATES(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 12:52:51 +05:30
|
|
|
@ApiTags('Manage Fee - Oracle')
|
2025-03-06 15:46:37 +05:30
|
|
|
@Get('/GetFeeComm/:id')
|
|
|
|
|
GetFeeComm( @Param('id', ParseIntPipe) id: number) {
|
|
|
|
|
return this.manageFeeService.GETFEECOMM(id)
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-25 13:18:33 +05:30
|
|
|
}
|