|
...
|
...
|
@@ -8,6 +8,7 @@ use App\Models\Manage\BelongingGroup; |
|
|
|
use App\Models\Manage\EntryPosition;
|
|
|
|
use App\Models\Manage\JobLevel;
|
|
|
|
use App\Models\Manage\ManageHr;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -37,12 +38,21 @@ class HrLogic extends BaseLogic |
|
|
|
}
|
|
|
|
|
|
|
|
public function save($param){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
foreach ($this->model::specieField() as $v){
|
|
|
|
$param = $this->setJson($v,$param);
|
|
|
|
}
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
return parent::save($param);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :获取详情
|
|
|
|
* @name :getHrInfo
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/25 9:27
|
|
|
|
*/
|
|
|
|
public function getHrInfo($id){
|
|
|
|
$data = $this->model->read(['id'=>$id]);
|
|
|
|
foreach ($this->model::specieField() as $v){
|
...
|
...
|
|