Authored by 陈峰

commit

... ... @@ -21,6 +21,6 @@ rl.on('line', line => {
rl.on('close', () => {
_.take(_.orderBy(allProducts, 'soldNum', 'desc'), 300).forEach(product => {
console.log(`${product.productId},${product.soldNum},${product.articleNumber},${product.price}`);
console.log(`${product.productId},${product.soldNum},${product.articleNumber},${parseInt(product.price / 100, 10)}`);
});
});
... ...