BLL/TCWL_B_SMSRecord.cs
(完整代码) 1KBnamespace BLL
{
using Common;
using DAL;
using Model;
using System;
using System.Data;
public class TCWL_B_SMSRecord
{
private readonly TCWL_D_SMSRecord dal = new TCWL_D_SMSRecord();
public string Add(string xm, string dh, string srvid, string userid, string Content, string count)
{
return this.dal.Add(xm, dh, srvid, userid, Content, count);
}
public string AddShenQing(TCWL_M_SMSApplicationRecord model)
{
return this.dal.AddShenQing(model);
}
public string GetListByPage(string strWhere, string orderby, int startIndex, int endIndex, string where, string wh)
{
int total = 0;
DataTable dt = this.dal.GetListByPage(strWhere, orderby, startIndex, endIndex, out total, where, wh);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
public string GetListShenQing(string strWhere, string orderby, int startIndex, int endIndex, string where)
{
int total = 0;
DataTable dt = this.dal.GetListShenQing(strWhere, orderby, startIndex, endIndex, out total, where);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
public string GetMoney(string strWhere, string orderby, int startIndex, int endIndex)
{
int total = 0;
DataTable dt = this.dal.GetMoney(strWhere, orderby, startIndex, endIndex, out total);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
