rm bug
This commit is contained in:
@@ -13,7 +13,6 @@ module.exports = cds.service.impl(async function () {
|
|||||||
const orders = await cds.tx(msg).run(SELECT.from(Orders).where({ createdBy: BUSINESSPARTNER }))
|
const orders = await cds.tx(msg).run(SELECT.from(Orders).where({ createdBy: BUSINESSPARTNER }))
|
||||||
console.log(orders)
|
console.log(orders)
|
||||||
})
|
})
|
||||||
})
|
|
||||||
|
|
||||||
/** Add some discount for overstocked books */
|
/** Add some discount for overstocked books */
|
||||||
function _addDiscount2(each, discount) {
|
function _addDiscount2(each, discount) {
|
||||||
@@ -32,3 +31,4 @@ async function _reduceStock(req) {
|
|||||||
)
|
)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user