BLL/TCWL_B_ProIn.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace BLL
{
using Common;
using DAL;
using Model;
using System;
using System.Data;
public class TCWL_B_ProIn
{
private readonly TCWL_D_ProIn dal = new TCWL_D_ProIn();
public string Add(TCWL_M_ProIn model)
{
return this.dal.Add(model);
}
public bool ChangeState(string IDS)
{
return this.dal.ChangeState(IDS);
}
public bool Delete(string ID)
{
return this.dal.Delete(ID);
}
public string GetById(string id, string proid)
{
TCWL_D_Product product = new TCWL_D_Product();
DataTable byId = this.dal.GetById(id);
DataTable sizeById = product.GetSizeById(proid);
return ("{\"rows\":" + JsonHelper.DataTableToJson(byId) + ",\"size\":" + JsonHelper.DataTableToJson(sizeById) + "}");
}
public DataTable GetByIds(string ids)
{
return this.dal.GetByIds(ids);
}
public string loadFamiliar(string svrid, string v)
{
return JsonHelper.DataTableToJson(this.dal.loadFamiliar(svrid, v));
}
public DataTable loadInCheck(string strWhere)
{
return this.dal.loadInCheck(strWhere);
}
public string loadInCheck(string strWhere, string orderby, int startIndex, int endIndex)
{
int total = 0;
DataTable dt = this.dal.loadInCheck(strWhere, orderby, startIndex, endIndex, out total);
return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
}
public DataTable loadOutCheck(string strWhere)
{
return this.dal.loadOutCheck(strWhere);
后面还有 46 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
