select * from BusProdItemSn t where t.idx in (select m.itemSnidx from BusProdSnLog m where m.itemSnidx=t.idx and m.actionBy=46738) and t.status<>-10
请问各位高手,这句sql能不能转化成HQL呢?
...全文
1321打赏收藏
这句sql怎么能转成hql语句呢
select * from BusProdItemSn t where t.idx in (select m.itemSnidx from BusProdSnLog m where m.itemSnidx=t.idx and m.actionBy=46738) and t.status-10 请问各位高手,这句sql能不能转化成HQL呢?