更新 'installer/Util/AppSetupUtility.php'

This commit is contained in:
zhongjin 2023-05-05 20:07:27 +08:00
parent 63e780e34f
commit 73f92a68d6

View File

@ -268,14 +268,14 @@ class AppSetupUtility
->insert('hs_hr_employee')
->values([
'employee_id' => ':employeeId',
'emp_lastname' => ':lastName',
// 'emp_lastname' => ':lastName',
'emp_firstname' => ':firstName',
'emp_work_email' => ':workEmail',
'emp_work_telephone' => ':contact',
])
->setParameter('employeeId', $employeeId)
->setParameter('firstName', $adminUserData[StateContainer::ADMIN_FIRST_NAME])
->setParameter('lastName', $adminUserData[StateContainer::ADMIN_LAST_NAME])
// ->setParameter('lastName', $adminUserData[StateContainer::ADMIN_LAST_NAME])
->setParameter('workEmail', $adminUserData[StateContainer::ADMIN_EMAIL])
->setParameter('contact', $adminUserData[StateContainer::ADMIN_CONTACT])
->executeQuery();