This commit is contained in:
@@ -48,6 +48,7 @@ public class HelloService2 implements Service {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//查询列表
|
//查询列表
|
||||||
|
@RestConvertCoder(type = HelloEntity.class, field = "createtime", coder = CreateTimeSimpleCoder.class)
|
||||||
@RestMapping(name = "query", auth = false, comment = "查询Hello对象列表")
|
@RestMapping(name = "query", auth = false, comment = "查询Hello对象列表")
|
||||||
public Sheet<HelloEntity> queryHello(@RestParam(name = "bean", comment = "过滤条件") HelloBean bean, Flipper flipper) { //通过 /hello/query/offset:0/limit:20?bean={...} 查询列表
|
public Sheet<HelloEntity> queryHello(@RestParam(name = "bean", comment = "过滤条件") HelloBean bean, Flipper flipper) { //通过 /hello/query/offset:0/limit:20?bean={...} 查询列表
|
||||||
return source.querySheet(HelloEntity.class, flipper, bean);
|
return source.querySheet(HelloEntity.class, flipper, bean);
|
||||||
|
|||||||
Reference in New Issue
Block a user