select * from ep_operationinfo
where ep_operationinfo.`Post_Send_UserId` 
in (select `es_user_user_map`.USER_GROUP_ID from es_user_user_map where es_user_user_map.USER_ID='admin')
现在多了个条件  operationinfo.Post_Send_UserId ='admin'也可以 但是需要用hql语句写出 想起union了 请问可以么?
在线等  , 有满意答案即结贴。