Commit 91a3a37b authored by hujun's avatar hujun

去除删除状态记录

parent a210b2ab
......@@ -315,6 +315,7 @@ class OPartialCommission extends BaseModel
->alias('a')
->join('o_bargain b', 'a.bargain_id = b.id', 'left')
->where('b.id', $bargain_id)
->where('b.status', '<>', 30)
->whereor('b.father_id', $bargain_id)
->where('a.is_del', 0)
->select();
......
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