This commit is contained in:
Redkale
2017-03-17 18:04:17 +08:00
parent 3531d0963d
commit 4958b454af
2 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
package org.redkale.test.rest;
import java.io.Serializable;
import java.util.*;
import javax.annotation.Resource;
import org.redkale.net.http.*;
@@ -73,7 +72,7 @@ public class HelloService implements Service {
//查询List列表
@RestMapping(name = "listmap")
public List<HelloEntity> queryHello(HelloBean bean, @RestParam(name = "map") Map<String, Serializable> map) { //通过 /pipes/hello/list?bean={...} 查询List列表
public List<HelloEntity> queryHello(HelloBean bean, @RestParam(name = "map") Map<String, String> map) { //通过 /pipes/hello/list?bean={...} 查询List列表
System.out.println("map参数: " + map);
if (source != null) return source.queryList(HelloEntity.class, bean);
return null;