|
|
@@ -16,7 +16,7 @@ class Task
|
|
|
if ($v['chaoshi'] > 0) {
|
|
|
$time = $cur + $v['chaoshi']*60;
|
|
|
$where['status'] = ['<=', 2];
|
|
|
- $where['cdate'] = ['>', $time];
|
|
|
+ $where['cdate'] = ['<=', $time];
|
|
|
Dever::db('seller/order')->update($where, ['status' => 11]);
|
|
|
$order = Dever::db('seller/order')->load($where);
|
|
|
foreach ($order as $v1) {
|