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了 请问可以么?
在线等 , 有满意答案即结贴。
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了 请问可以么?
在线等 , 有满意答案即结贴。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货