|
@@ -1251,12 +1251,12 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
array_push($where, ['component.component_name', 'like', '%' . $data['component_name'] . '%']);
|
|
|
}
|
|
|
if (isset($data['width']) && !empty($data['width']) && isset($data['height']) && !empty($data['height'])) {
|
|
|
- array_push($where, ['size.width', 'like', '%' . $data['width'] . '%']);
|
|
|
- array_push($where, ['size.height', 'like', '%' . $data['height'] . '%']);
|
|
|
+ array_push($where, ['component.component_width', 'like', '%' . $data['width'] . '%']);
|
|
|
+ array_push($where, ['component.component_height', 'like', '%' . $data['height'] . '%']);
|
|
|
} else if (isset($data['width']) && !empty($data['width'])) {
|
|
|
- array_push($where, ['size.width', 'like', '%' . $data['width'] . '%']);
|
|
|
+ array_push($where, ['component.component_width', 'like', '%' . $data['width'] . '%']);
|
|
|
} else if (isset($data['height']) && !empty($data['height'])) {
|
|
|
- array_push($where, ['size.height', 'like', '%' . $data['height'] . '%']);
|
|
|
+ array_push($where, ['component.component_height', 'like', '%' . $data['height'] . '%']);
|
|
|
} else {
|
|
|
}
|
|
|
if(isset($data['type_id']) && !empty($data['type_id'])){
|