|
@@ -34,7 +34,7 @@ class GetOrderInfoAndInvoiceInfo extends Command
|
|
Db::name("invoice_return")->where(["returnCode"=>$red['returnCode'],"status"=>1])->update
|
|
Db::name("invoice_return")->where(["returnCode"=>$red['returnCode'],"status"=>1])->update
|
|
(["status"=>2,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
(["status"=>2,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
Db::name("invoice_red")->where(["invRed"=>$value['invNo'],"is_del"=>0])->update(["status"=>4,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
Db::name("invoice_red")->where(["invRed"=>$value['invNo'],"is_del"=>0])->update(["status"=>4,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
- Db::name("invoice_pool")->where(["invNo"=>$red['invNo'],"is_del"=>0])->update(["status"=>8,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
|
|
|
|
+ Db::name("invoice_pool")->where(["invNo"=>$red['invNo'],"is_del"=>0])->update(["status"=>6,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
Db::name("invoice_pool")->where(["invNo"=>$value['invNo'],"is_del"=>0])->update(["status"=>2,"updatetime"=>date("Y-m-d H:i:s")]);
|
|
Db::name("invoice_pool")->where(["invNo"=>$value['invNo'],"is_del"=>0])->update(["status"=>2,"updatetime"=>date("Y-m-d H:i:s")]);
|