7404-stockBuyed #2836
|
@ -24,8 +24,6 @@ module.exports = Self => {
|
||||||
});
|
});
|
||||||
|
|
||||||
Self.getStockBoughtDetail = async(workerFk, dated = Date.vnNew()) => {
|
Self.getStockBoughtDetail = async(workerFk, dated = Date.vnNew()) => {
|
||||||
console.log('dated: ', new Date(dated));
|
|
||||||
console.log('new Date(dated).setHours(0, 0, 0, 0): ', new Date(dated).setHours(0, 0, 0, 0));
|
|
||||||
return Self.rawSql(
|
return Self.rawSql(
|
||||||
`SELECT e.id entryFk,
|
`SELECT e.id entryFk,
|
||||||
i.id itemFk,
|
i.id itemFk,
|
||||||
|
|
Loading…
Reference in New Issue