添加价格获取

This commit is contained in:
admin
2021-01-18 11:38:02 +08:00
parent 2b7346b4b1
commit 275c9967be
7 changed files with 85 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ namespace NX.ERP.U8.Base
{
public class BinDAL
{
public IEnumerable<Bin> GetList(string strwhere="",object Params=null)
public IEnumerable<Bin> GetList(string strwhere = "", object Params = null)
{
using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net))
{
@@ -24,10 +24,14 @@ namespace NX.ERP.U8.Base
}
}
public IEnumerable<Bin> GetListByWhCode(string Code)
{
return this.GetList(" cWhCode=@Code", new { Code });
}
}
}