我想让username不等于当前登陆人。语法错误,红色调用系统变量应该咋写。 select t1.username ,t1.realname,t2.roleid from fine_user t1 left join fine_user_role_middle t2 on t1.id = t2.userid where t2.roleid in ('6b4af09f-55ba-49f5-9f88-1fd6e622cac7','b6ecbcfa-ea7a-43fa-8fa1-330103269188') and t1.username != ${=$fine_username} |
最佳回答 |
||||
0
|
|