|
@@ -1016,6 +1016,7 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
->leftJoin('template_class', 'template_class.class_id', '=', 'template.template_class_id')
|
|
->leftJoin('template_class', 'template_class.class_id', '=', 'template.template_class_id')
|
|
->leftJoin('sector_place', 'sector_place.sector_type', '=', 'sector.place_type')
|
|
->leftJoin('sector_place', 'sector_place.sector_type', '=', 'sector.place_type')
|
|
->where($where)
|
|
->where($where)
|
|
|
|
+ ->where('sector_place.type_id',1)
|
|
->select('sector.*', 'size.width','size.height','template_class.name as class_name','template.template_name'
|
|
->select('sector.*', 'size.width','size.height','template_class.name as class_name','template.template_name'
|
|
,'sector_place.name as place_name','sector_place.sector_img as place_img')
|
|
,'sector_place.name as place_name','sector_place.sector_img as place_img')
|
|
->orderBy('sector.id', 'desc')
|
|
->orderBy('sector.id', 'desc')
|