|
@@ -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")]);
|
|
|
}
|