package com.hxzk.gps.result; import java.util.List; public class ListDataResult { /* * 成功返回表格数据 * */ public static ResultTable resultTableSuccess(table tableList,String msg) { return new ResultTable(tableList,msg); } /* * 成功返回表格轨迹数据 * */ public static TrackResultTable resultTrackTableSuccess(Tracktable tableList,String msg) { return new TrackResultTable(tableList,msg); } /* * 返回表格轨迹数据异常状态 * */ public static TrackResultTable resultTrackTableerror(String msg) { return new TrackResultTable(msg); } /* * 返回表格数据异常状态 * */ public static ResultTable resultTableError(String msg) { return new ResultTable(msg); } /* * 成功返回列表数据 * */ public static ResultList resultListSuccess(List list,String msg) { return new ResultList(list,msg); } }