namespace JngsWeb.BLL.Interface
{
public class get_complain_list : JsonBase
{
public JngsDal tdal = null;
public get_complain_list(JsonData dta)
: base(dta)
{ tdal = new JngsDal(); }
public override object GetData()
{
string uid = "";
try { uid = (string)optdatas["userid"]; }
catch { uid = ""; }
string page = "";
try { page = (string)optdatas["page"]; }
catch { page = ""; }
string sta = "";
try { sta = (string)optdatas["sta"]; }
catch { sta = ""; }
string startime = "";
try { startime = (string)optdatas["startime"]; }
catch { startime = ""; }
string endtime = "";
try { endtime = (string)optdatas["endtime"]; }
catch { endtime = ""; }
string info = "";
try { info = (string)optdatas["info"]; }
catch { info = ""; }
DataTable dt = new DataTable();
JsonData js = new JsonData();
try
{
dt = tdal.get_complain_list(uid, page,sta,startime,endtime,info);
js = DataTableToJson(dt);
}
catch (Exception ex)
{
JngsDal.RecordError("get_complain_list", ex.Message);
}
return js;
}
}
}