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