|
@@ -1889,6 +1889,10 @@ class Consult extends Base
|
|
|
$bidinfo = Db::name("consult_info")->where([["pgNo","=",$pgNo],["is_del","=",0]])->column("infoNo");
|
|
|
$where[] = ['infoNo','in',$bidinfo];
|
|
|
}
|
|
|
+ $role=$this->checkRole();
|
|
|
+ if(!empty($role['write'])){
|
|
|
+ $where[]=["createrid","in",$role['write']];
|
|
|
+ }
|
|
|
|
|
|
$count=Db::name("bargain_order")->where($where)->count();
|
|
|
$total = ceil($count / $size);
|