delete
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
7b8a9791b4
commit
4295ae0108
|
@ -105,8 +105,9 @@ module.exports = Self => {
|
||||||
serialLetter,
|
serialLetter,
|
||||||
args.invoiceDate
|
args.invoiceDate
|
||||||
], myOptions);
|
], myOptions);
|
||||||
if (client.id == 1102)
|
if (client.id == 1101 && args.addressId == 121)
|
||||||
throw new Error('Error1');
|
throw new Error('Error1');
|
||||||
|
|
||||||
const [newInvoice] = await Self.rawSql(`SELECT @invoiceId id`, null, myOptions);
|
const [newInvoice] = await Self.rawSql(`SELECT @invoiceId id`, null, myOptions);
|
||||||
if (newInvoice.id) {
|
if (newInvoice.id) {
|
||||||
await Self.rawSql('CALL invoiceOutBooking(?)', [newInvoice.id], myOptions);
|
await Self.rawSql('CALL invoiceOutBooking(?)', [newInvoice.id], myOptions);
|
||||||
|
|
Loading…
Reference in New Issue