grails
文章平均质量分 86
左之右
努力前行的Programmer.
展开
-
gsp进行遍历map与list的结合
map的结构是:下面是GSP代码内容: ${entry.key}原创 2016-11-15 18:12:36 · 1215 阅读 · 0 评论 -
grails executeQuery in
grails的executeQuery跟hql的语法差不多,executeQuery与in一起使用:代码如下【说明 下面的是list的类型是: List】 String str="select prodId,sum(num),prodPrice from MikuMineBoxProduct where boxId in (:list) group by prodId"原创 2017-01-10 15:05:27 · 1365 阅读 · 0 评论 -
grails 查询
grails手册的API先粘下Mark先:NodeDescriptionExamplebetweenWhere the property value is between to distinct valuesbetween("balance", 500, 1000)eqWhere a property eq原创 2017-01-11 11:19:15 · 1263 阅读 · 0 评论