机构删除

This commit is contained in:
dengbw
2023-06-07 17:10:16 +08:00
committed by xiaoyu
parent e95ffaff4b
commit b7cdfead0f
@@ -211,6 +211,24 @@ class Organization extends BaseController
$this->return_response();
}
/**
* Notes:批量删除机构
* Created on: 2022/9/8 17:11
* Created by: dengbw
*/
public function batch_delete()
{
$ids = $this->input_param('ids');
if (!$ids) {
$this->return_json('参数错误');
}
$str_ids = implode(',', $ids);
if ($str_ids) {
$this->mdSyliveOrganization->update(['status' => -1], ["organizationId in($str_ids)" => null]);
}
$this->return_response();
}
/**
* Notes:机构详情
* Created on: 2022/12/09 10:37
@@ -226,4 +244,4 @@ class Organization extends BaseController
$this->return_response($re);
}
}
}