作者 曹东东

查重

... ... @@ -51,7 +51,7 @@ class Duplicate extends DoubleBase
->join('college c', 'u.college = c.id', 'left')
->join('specialty d', 'u.specialty = d.id', 'left')
->where(['a.container_id' => $this->containerId,'review_stage' => 0])
->where('a.repeat_rate','neq',$rate)
->where('a.repeat_rate','gt',$rate)
->count();
$list = $this->model
->field($field)
... ... @@ -62,7 +62,7 @@ class Duplicate extends DoubleBase
->join('fa_members m','a.id = m.item_id and member_type = 1 and member_source = 2','left')
->join('specialty d', 'u.specialty = d.id', 'left')
->where(['a.container_id' => $this->containerId,'review_stage' => 0])
->where('a.repeat_rate','neq',$rate)
->where('a.repeat_rate','gt',$rate)
->group('a.id')
->limit($offset, $limit)
->select();
... ...