如何在杂货店 CRUD 中使用 mysql AES 解密来匹配表中的数据?
错误获取 crud set realtion 如下:
$crud->set_relation(AES_DECRYPT(departments.department_id,'key'),'users.department_id','deparmtnet_name');
未找到:departments.AES_DECRYPT(departments.department_id,'key')
select user_name,department_name from users as j333 left join departments jd333 on departments.AES_DECRYPT(departments.department_id,'key')=j333.department_id