|
@@ -59,7 +59,7 @@ class Cron
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 处理销售数据 生成每天的销量统计、每月对账单
|
|
|
|
|
|
+ * 处理销售数据 生成每天的销量统计
|
|
*
|
|
*
|
|
* @return mixed
|
|
* @return mixed
|
|
*/
|
|
*/
|
|
@@ -108,7 +108,7 @@ class Cron
|
|
$month = Dever::input('start', date('Y-m'));
|
|
$month = Dever::input('start', date('Y-m'));
|
|
}
|
|
}
|
|
|
|
|
|
- $where['status'] = '5,6';
|
|
|
|
|
|
+ $where['status'] = 2;
|
|
$start = Dever::maketime($month . '-01 00:00:00');
|
|
$start = Dever::maketime($month . '-01 00:00:00');
|
|
$end = Dever::maketime($month . '-31 23:59:59');
|
|
$end = Dever::maketime($month . '-31 23:59:59');
|
|
|
|
|