BLL/TCWL_B_GongGaoGuanLi.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace BLL
{
using Common;
using DAL;
using Model;
using System;
using System.Data;
using System.Text.RegularExpressions;
public class TCWL_B_GongGaoGuanLi
{
private readonly TCWL_D_GongGaoGuanLi dal = new TCWL_D_GongGaoGuanLi();
public bool Add(TCWL_M_GongGaoGuanLi model)
{
return this.dal.Add(model);
}
public bool Delete(string ID)
{
return this.dal.Delete(ID);
}
public bool DeleteList(string IDlist)
{
return this.dal.DeleteList(IDlist);
}
public string GetConByID(string ID)
{
return this.dal.GetConByID(ID).Tables[0].Rows[0][0].ToString();
}
public string GetGg(string ID)
{
DataSet gg = this.dal.GetGg(ID);
return ("{\"rows\":" + JsonHelper.DataTableToJson(gg.Tables[0]) + "}");
}
public string GetGGList(string strWhere, string orderby, int startIndex, int endIndex)
{
int total = 0;
DataTable dt = this.dal.GetGGList(strWhere, orderby, startIndex, endIndex, out total);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
public string GetGGList(string strWhere, string orderby, int startIndex, int endIndex, string key)
{
int total = 0;
DataTable dt = this.dal.GetGGList(strWhere, orderby, startIndex, endIndex, out total, key);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
public DataSet GetList(string strWhere)
{
return this.dal.GetList(strWhere);
}
public string GetLogNews(string id)
{
后面还有 79 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
