|
@@ -4,6 +4,7 @@ const {logger} = require('../libs/logger'); |
|
@@ -4,6 +4,7 @@ const {logger} = require('../libs/logger'); |
4
|
const {mysqlPool} = require('../libs/mysql');
|
4
|
const {mysqlPool} = require('../libs/mysql');
|
5
|
|
5
|
|
6
|
module.exports = async() => {
|
6
|
module.exports = async() => {
|
|
|
7
|
+ mysqlPool.delete('update `channel_sku_compare` set `channel_average_price` = 0');
|
7
|
const beginTime = dayjs().subtract(24, 'hour').unix();
|
8
|
const beginTime = dayjs().subtract(24, 'hour').unix();
|
8
|
const endTime = dayjs().unix();
|
9
|
const endTime = dayjs().unix();
|
9
|
|
10
|
|