wugg 2 gadi atpakaļ
vecāks
revīzija
6770dfe529
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      app/admin/command/GetOrderInfoAndInvoiceInfo.php

+ 2 - 1
app/admin/command/GetOrderInfoAndInvoiceInfo.php

@@ -48,7 +48,8 @@ class GetOrderInfoAndInvoiceInfo extends Command
 
 					$rmark=$this->updateQRd($invNo);
 					if($rmark==''){
-						Db::name("invoice_pool")->where(["invNo"=>$value['invNo'],"is_del"=>0])->update(["status"=>$status,"updatetime"=>date("Y-m-d H:i:s")]);
+						Db::name("invoice_pool")->where(["invNo"=>$value['invNo'],"is_del"=>0])->update
+						(["status"=>$status,"seller_check"=>1,"buyer_check"=>1,"updatetime"=>date("Y-m-d H:i:s")]);
 					}else{
 						Db::name("invoice_pool")->where(["invNo"=>$value['invNo'],"is_del"=>0])->update(["status"=>5,"remark"=>$rmark,"updatetime"=>date("Y-m-d H:i:s")]);
 					}