modified route
This commit is contained in:
parent
2a6329bb9e
commit
4a26d65bfb
@ -14,7 +14,7 @@ export class CarnetSequenceController {
|
|||||||
return this.carnetSequenceService.getCarnetSequence(body);
|
return this.carnetSequenceService.getCarnetSequence(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('Carnet Sequence - Oracle')
|
@ApiTags('Carnet Sequence - Mssql')
|
||||||
@Post('/CreateCarnetSequence/')
|
@Post('/CreateCarnetSequence/')
|
||||||
createCarnetSequence(@Body() body: CreateCarnetSequenceDTO) {
|
createCarnetSequence(@Body() body: CreateCarnetSequenceDTO) {
|
||||||
return this.carnetSequenceService.createCarnetSequence(body);
|
return this.carnetSequenceService.createCarnetSequence(body);
|
||||||
|
|||||||
@ -27,19 +27,19 @@ export class SpContactsController {
|
|||||||
return this.spContactsService.getSpAllContacts(body);
|
return this.spContactsService.getSpAllContacts(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('SPContacts - Oracle')
|
@ApiTags('SPContacts - Mssql')
|
||||||
@Post('/InsertSPContacts')
|
@Post('/InsertSPContacts')
|
||||||
insertSPContacts(@Body() body: InsertSPContactsDTO) {
|
insertSPContacts(@Body() body: InsertSPContactsDTO) {
|
||||||
return this.spContactsService.insertSPContacts(body);
|
return this.spContactsService.insertSPContacts(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('SPContacts - Oracle')
|
@ApiTags('SPContacts - Mssql')
|
||||||
@Post('/SetSPDefaultContact')
|
@Post('/SetSPDefaultContact')
|
||||||
setSPDefaultcontact(@Query() body: setSPDefaultcontactDTO) {
|
setSPDefaultcontact(@Query() body: setSPDefaultcontactDTO) {
|
||||||
return this.spContactsService.setSPDefaultcontact(body);
|
return this.spContactsService.setSPDefaultcontact(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('SPContacts - Oracle')
|
@ApiTags('SPContacts - Mssql')
|
||||||
@Put('/UpdateSPContacts')
|
@Put('/UpdateSPContacts')
|
||||||
updateSPContacts(@Body() body: UpdateSPContactsDTO) {
|
updateSPContacts(@Body() body: UpdateSPContactsDTO) {
|
||||||
return this.spContactsService.updateSPContacts(body);
|
return this.spContactsService.updateSPContacts(body);
|
||||||
|
|||||||
@ -20,13 +20,13 @@ export class SpController {
|
|||||||
return this.spService.getSpBySpid(body);
|
return this.spService.getSpBySpid(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('SP - Oracle')
|
@ApiTags('SP - Mssql')
|
||||||
@Post('/InsertNewServiceProvider')
|
@Post('/InsertNewServiceProvider')
|
||||||
insertNewServiceProvider(@Body() body: InsertNewServiceProviderDTO) {
|
insertNewServiceProvider(@Body() body: InsertNewServiceProviderDTO) {
|
||||||
return this.spService.insertNewServiceProvider(body);
|
return this.spService.insertNewServiceProvider(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiTags('SP - Oracle')
|
@ApiTags('SP - Mssql')
|
||||||
@Put('/UpdateServiceProvider')
|
@Put('/UpdateServiceProvider')
|
||||||
updateServiceProider(@Body() body: UpdateServiceProviderDTO) {
|
updateServiceProider(@Body() body: UpdateServiceProviderDTO) {
|
||||||
return this.spService.updateServiceProvider(body);
|
return this.spService.updateServiceProvider(body);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user