|
@@ -39,7 +39,7 @@ class TempHandleBusinessData extends Command
|
|
|
->field('a.*,b.contactor,b.position,b.mobile')
|
|
|
->leftJoin('supplier_contact b', 'b.code=a.code')
|
|
|
->where('a.is_del', 0)
|
|
|
- ->where('a.updatetime', '>=', date('Y-m-d H:i:s', time() - 5 * 60))
|
|
|
+ ->where('a.updatetime', '>=', date('Y-m-d H:i:s', time() - 60))
|
|
|
->select()
|
|
|
->toArray();
|
|
|
|
|
@@ -119,7 +119,7 @@ class TempHandleBusinessData extends Command
|
|
|
|
|
|
$userCommon = new User();
|
|
|
$rs = $userCommon->handle('get_business_list_tmp', ['where' => [
|
|
|
- ['a.updatetime', '>=', date('Y-m-d H:i:s', time() - 5 * 60)],
|
|
|
+ ['a.updatetime', '>=', date('Y-m-d H:i:s', time() -60)],
|
|
|
]]);
|
|
|
|
|
|
// $output->writeln('---***---');
|