Commit 2cc2ef17 2cc2ef17cd2337fdb6546feba7831a22db73b013 by lemon

确认账单bug

1 parent 587b4f3f
......@@ -85,7 +85,7 @@ class MusicianWithdrawService extends Service
{
if (RedisClient::instance('bills')->set(CacheKeyTools::billsConfirm($this->request->serial_no), true, 'EX', 3, 'NX')) {
$app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'identifier'=>$this->identifier->identifier, 'type'=>1])->select(['id', 'subject_no', 'company_id', 'stakeholder_id', 'related_id'])->first();
$app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>0, 'identifier'=>$this->identifier->identifier, 'type'=>1])->select(['id', 'subject_no', 'company_id', 'stakeholder_id', 'related_id'])->first();
DB::beginTransaction();
......