|
@@ -78,12 +78,11 @@ class CheckTicket extends Command
|
|
|
$this->lastUpdate($info['invNo']);
|
|
|
}else $this->faild($invoice['id'],$result['data']['cyjgxx']);
|
|
|
}else $this->faild($info['invNo']);
|
|
|
- Db::commit();
|
|
|
}catch (\Exception $e){
|
|
|
Db::rollback();
|
|
|
echo $e->getMessage()."\r\n";
|
|
|
}
|
|
|
-
|
|
|
+ Db::commit();
|
|
|
}
|
|
|
protected function changeFiled($data,$info){
|
|
|
$item = $this->itemFiled($data['detailList']);
|