|
@@ -69,14 +69,13 @@ class GenerrateInvoice extends Command
|
|
|
}catch (\Exception $e){
|
|
|
Cache::store("redis")->set("generrateinvoice",0);
|
|
|
Db::rollback();
|
|
|
- $output->writeln( "【 $date 】开票申请失败 ".$e->getMessage());
|
|
|
+ $output->writeln( "【 $date 】开票申请失败".$e->getMessage());
|
|
|
}
|
|
|
Cache::store("redis")->set("generrateinvoice",0);
|
|
|
}
|
|
|
|
|
|
protected function GetAll(){
|
|
|
$list =Db::name("invoice_interface")->json(["DDMXXX"])->lock(true)->withoutField("id,status,is_check,result,remark,addtime,updatetime")->limit(1)->where(["status"=>0])->select();
|
|
|
- echo Db::name("invoice_interface")->getLastSql();
|
|
|
return $list;
|
|
|
}
|
|
|
|