|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
class DeleteLogService
|
|
|
|
|
{
|
|
|
|
|
public function logDeletion($tableName, $recordId, $name, $idCardNum, $operatorId, $operatorName, $reason, $screenshot)
|
|
|
|
|
public function logDeletion($tableName, $recordId, $name, $idCardNum, $operatorId, $operatorName, $reason, $currentOrgName, $type, $screenshot)
|
|
|
|
|
{
|
|
|
|
|
try {
|
|
|
|
|
DB::table('delete_operation_log')->insert([
|
|
|
|
|
@ -18,6 +18,8 @@ public function logDeletion($tableName, $recordId, $name, $idCardNum, $operatorI
|
|
|
|
|
'operator_id' => $operatorId,
|
|
|
|
|
'operator_name' => $operatorName,
|
|
|
|
|
'reason' => $reason,
|
|
|
|
|
'current_org_name' => $currentOrgName,
|
|
|
|
|
'type' => $type,
|
|
|
|
|
'screenshot' => $screenshot,
|
|
|
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
|
|
|
'updated_at' => date('Y-m-d H:i:s'),
|
|
|
|
|
|