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;
  }

}

上一篇:HTML5峰会小记


下一篇:微软职位内部推荐-Senior Software Development Engineer