easyui返回数据类型

/**
* 我申请的事项List
*
* @param personalParamVo
* @param pagePara
* @return
*/
@ResourceMapping("myApplyList")
public DataResult<?> myApplyList(@JsonParam("personalParamVo")
  PersonalParamVo personalParamVo, @RequestParams
  PagePara pagePara) {

  return personalBo.getMyApplyList(personalParamVo, pagePara);
}

 

public class DataResult<T> {
  private List<T> data;
  private int count;

  public List<T> getData() {
    return data;
  }
  public void setData(List<T> data) {
    this.data = data;
  }
  public int getCount() {
    return count;
  }
  public void setCount(int count) {
    this.count = count;
  }

}

posted on 2015-04-20 11:03  快跑的小鸡  阅读(335)  评论(0编辑  收藏  举报

导航