This commit is contained in:
Kallesh B S 2025-02-28 15:15:46 +05:30
parent fbf3de8cdc
commit b0a9487b07
3 changed files with 10 additions and 7 deletions

View File

@ -135,11 +135,6 @@ Content-Type: application/json
### ###
//GetSPcontacts
GET http://localhost:3000/oracle/GetSPcontacts/12
###
//InactivateSPContact //InactivateSPContact
@ -164,7 +159,13 @@ GET http://localhost:3000/oracle/GetAllSPcontacts
POST http://localhost:3000/oracle/CreateCarnetSequence POST http://localhost:3000/oracle/CreateCarnetSequence
Content-Type: application/json Content-Type: application/json
{} {
"p_spid": 2,
"p_regionid": 65,
"p_startnumber": 2000,
"p_endnumber": 3000,
"p_carnettype": "type1"
}
### ###

View File

@ -140,7 +140,7 @@ export class OracleController {
body.p_startnumber, body.p_startnumber,
body.p_endnumber, body.p_endnumber,
body.p_carnettype body.p_carnettype
) )
} }
@Get('/GetCarnetSequence/:id') @Get('/GetCarnetSequence/:id')

View File

@ -902,6 +902,8 @@ export class OracleService {
); );
let fres = await result.outBinds.p_cursor.getRows(); let fres = await result.outBinds.p_cursor.getRows();
await result.outBinds.p_cursor.close()
return fres return fres
} catch (err) { } catch (err) {