feat(salix): refs #6321 default value when days is not present
This commit is contained in:
parent
8366cfa348
commit
4fe1d80e7c
|
@ -90,6 +90,7 @@ module.exports = Self => {
|
|||
let procedureParams = [true];
|
||||
procedureParams.push(...filterKeyOrder.map(clave => ctx.args[clave] ?? null));
|
||||
|
||||
if (!procedureParams[1])procedureParams[1] = 2;
|
||||
const procedureArgs = Array(procedureParams.length).fill('?').join(', ');
|
||||
|
||||
let query = `CALL vn.item_getLack(${procedureArgs})`;
|
||||
|
|
Loading…
Reference in New Issue