|
@@ -1384,7 +1384,7 @@ class EmployeeService extends Service
|
|
|
if(! empty($top_depart_id)){
|
|
|
$targetArray = null;
|
|
|
foreach ($top as $key => $value) {
|
|
|
- if ($value['depart_id'] === $top_depart_id) {
|
|
|
+ if ($value['depart_id'] == $top_depart_id) {
|
|
|
$targetArray = $value;
|
|
|
unset($top[$key]); // 从原数组中移除目标数组
|
|
|
break; // 找到后跳出循环
|