|
@@ -14,7 +14,7 @@ class caixiao extends Command
|
|
|
protected function cgd(){
|
|
|
$cgd=new CgdCaixiao();
|
|
|
$where=[['updatetime','>=',$this->hour]];
|
|
|
- $list = $cgd->where($where)->cursor();
|
|
|
+ $list = $cgd->with(["originCgd"])->where($where)->cursor();
|
|
|
$cgdArr=[];
|
|
|
foreach ($list as $item){
|
|
|
$unique = md5($item->cgdNo.$item->updatetime);
|