Commit 34b44c46 authored by shajiaiming's avatar shajiaiming

fix

parent 62cf9546
......@@ -133,8 +133,11 @@ class IssueChainTransferController extends Controller
}
if (2 == $step) {
$model = CoinIssueChainRecord::find()->where(['pre_query_transaction' => 'success'])->andWhere(['finish_tx' => 'standby'])->all();
}
$model = CoinIssueChainRecord::find()
->where(['pre_query_transaction' => 'success'])
->andWhere(['not in', 'finish_send_transaction', ['standby', 'success', 'failed']])
->andWhere(['finish_query_transaction' => 'standby'])
->all();
if (false == $model) {
echo date('Y-m-d H:i:s') . ' STEP: ' . $step . '暂无完成的发送交易' . PHP_EOL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment