旧版报表、仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

60 lines
1.6 KiB

using Warehouse.DAL.CloseCondition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Warehouse.Models.mesModel;
namespace Warehouse.DAL.CloseCondition
{
public class CloseConditionDal
{
//拼柜条件卡关
public List<dynamic> UpdateLCLCondition(dynamic LCLCondition)
{
using (var context = new mesModel())
{
CloseConditionSqlDal Close = new CloseConditionSqlDal();
string sql = Close.InsertLCLConditionSql(LCLCondition);
var res = context.DynamicListFromSql(sql, null);
return res.ToList();
}
}
//入库条件卡关
public List<dynamic> UpdatePUTCondition(dynamic PUTCondition)
{
using (var context = new mesModel())
{
CloseConditionSqlDal Close = new CloseConditionSqlDal();
string sql = Close.InsertPUTConditionSql(PUTCondition);
var res = context.DynamicListFromSql(sql, null);
return res.ToList();
}
}
//查询拼柜条件卡关
public List<dynamic> SearchLCLInfo()
{
using (var context = new mesModel())
{
CloseConditionSqlDal Close = new CloseConditionSqlDal();
string sql = Close.SearchLCLInfoSql();
var res = context.DynamicListFromSql(sql, null);
return res.ToList();
}
}
//查询拼柜条件卡关
public List<dynamic> SearchPUTInfo()
{
using (var context = new mesModel())
{
CloseConditionSqlDal Close = new CloseConditionSqlDal();
string sql = Close.SearchPUTInfoSql();
var res = context.DynamicListFromSql(sql, null);
return res.ToList();
}
}
}
}