|
@@ -3497,7 +3497,7 @@ class Sale extends Base
|
|
|
$where[] = ["os.cgdNo", 'like', '%' . $cgdNo . '%'];
|
|
|
}
|
|
|
// $role = $this->checkRole();
|
|
|
- $condition = [];
|
|
|
+ $condition ='';
|
|
|
// if (!empty($role['write']) && $this->uid != "") {
|
|
|
// // $where[]=["a.apply_id","in",$role['write']];
|
|
|
// $condition .= " (b.is_stock=1 and n.contactor = {$this->uid}) or (b.is_stock=0 and wpo.cgder_id = {$this->uid}) or a.apply_id in (" . implode(',',
|