Grails SQL查询
[img]/upload/attachment/68089/eca0a265-9521-35dc-b6df-54a64a9a4237.jpg[/img]Grails大多查询是基于Domain类的find方法和criteria来执行的,甚至执行HQL,也必须是以Domain来作为主体的,比如:Book.executeQuery("from book where id = ?",11),如果查...