wugg 10 months ago
parent
commit
f354ff9feb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/command/caixiao.php

+ 2 - 1
app/command/caixiao.php

@@ -17,7 +17,7 @@ class caixiao extends Command
     	$list = $cgd->with(["originCgd"])->where($where)->select();
     	$cgdArr=[];
     	foreach ($list as $item){
-    		echo $item->cgdNo."--".$item->mainCode;
+    		echo date('Y-m:d H:i:s')."|".$item->cgdNo."--".$item->mainCode."\r\n";
     		$unique = md5($item->cgdNo.$item->updatetime);
            $temp=['order_type'=>2,'uniqkey'=>$unique,'status'=>1,'addtime'=>date('Y-m:d H:i:s')];
            if($this->isInCfp($unique)){
@@ -63,6 +63,7 @@ class caixiao extends Command
     	$qrd=[];
     	foreach ($list as $item){
            $unique = md5($item->orderCode.$item->updatetime);
+           echo date('Y-m:d H:i:s').'|'.$item->orderCode."\r\n";
            $temp=["order_type"=>1,"uniqkey"=>$unique,"status"=>1,"addtime"=>date('Y-m:d H:i:s')];
            if($this->isInCfp($unique)){
            	$item['cat_name'] = json_decode($item->cat_name);