Commit 007deaf7 authored by hujun's avatar hujun

$where

parent a39da3c6
......@@ -96,7 +96,7 @@ class OFinancialAudit extends BaseModel
// $result_bargain = $m_bargain->updateBargain($bargain_id, $update_data);
$where[] = ['EXP', 'id='.$bargain_id.' or father_id='.$bargain_id];
$where['status'] = ['in', '10,11,12,13'];
$result_bargain = $m_bargain->updateBargainByWhere($update_data, []);
$result_bargain = $m_bargain->updateBargainByWhere($update_data, $where);
if ($result_bargain) {
$this->commit();
$result = true;
......
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