modified for error resolve
This commit is contained in:
parent
4ab74a4106
commit
be44e9cda6
@ -534,7 +534,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -619,7 +619,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -699,7 +699,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -784,7 +784,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -859,7 +859,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -899,7 +899,8 @@ export class ManageFeeService {
|
|||||||
:P_EFFDATE,
|
:P_EFFDATE,
|
||||||
:P_FEES,
|
:P_FEES,
|
||||||
:P_USERID,
|
:P_USERID,
|
||||||
:P_CURSOR);
|
:P_CURSOR
|
||||||
|
);
|
||||||
END;`,
|
END;`,
|
||||||
{
|
{
|
||||||
P_SPID: {
|
P_SPID: {
|
||||||
@ -907,7 +908,7 @@ export class ManageFeeService {
|
|||||||
type: oracledb.DB_TYPE_NUMBER,
|
type: oracledb.DB_TYPE_NUMBER,
|
||||||
},
|
},
|
||||||
P_CUSTOMERTYPE: {
|
P_CUSTOMERTYPE: {
|
||||||
val: body.P_EFFDATE,
|
val: body.P_CUSTOMERTYPE,
|
||||||
type: oracledb.DB_TYPE_VARCHAR,
|
type: oracledb.DB_TYPE_VARCHAR,
|
||||||
},
|
},
|
||||||
P_DELIVERYTYPE: {
|
P_DELIVERYTYPE: {
|
||||||
@ -949,7 +950,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@ -1019,7 +1020,7 @@ export class ManageFeeService {
|
|||||||
);
|
);
|
||||||
await connection.commit();
|
await connection.commit();
|
||||||
|
|
||||||
const fres = await result.outBinds.p_cursor.getRows();
|
const fres = await result.outBinds.P_CURSOR.getRows();
|
||||||
|
|
||||||
return fres;
|
return fres;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export class ParamTableService {
|
|||||||
|
|
||||||
async GETPARAMVALUES(body: getParamValuesDTO) {
|
async GETPARAMVALUES(body: getParamValuesDTO) {
|
||||||
const finalBody = {
|
const finalBody = {
|
||||||
P_SPID: body.P_SPID ? body.P_SPID : null,
|
P_SPID: body.P_SPID === 0 ? body.P_SPID : body.P_SPID ? body.P_SPID : null,
|
||||||
P_PARAMTYPE: body.P_PARAMTYPE ? body.P_PARAMTYPE : null,
|
P_PARAMTYPE: body.P_PARAMTYPE ? body.P_PARAMTYPE : null,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user