修改更新接口
This commit is contained in:
@@ -15,7 +15,7 @@ namespace NX.ERP.U8
|
||||
|
||||
using (var conn = U8LoginContext.Instance.Connection)
|
||||
{
|
||||
var sql = "select cWhCode as WarehouseCode,cWhName as WarehouseName from Warehouse";
|
||||
var sql = "select cWhCode as WarehouseCode,cWhName as WarehouseName,CONVERT(BIGINT,pubufts) AS pubufts from Warehouse";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
sql += $" where {strWhere}";
|
||||
@@ -23,6 +23,16 @@ namespace NX.ERP.U8
|
||||
return conn.Query<Warehouse>(sql, Param);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public IEnumerable<Warehouse> GetList(long Pubufts)
|
||||
{
|
||||
|
||||
return this.GetList("CONVERT(BIGINT,pubufts) > @Pubufts", new { Pubufts });
|
||||
}
|
||||
|
||||
|
||||
public IEnumerable<Warehouse> GetList(NX.ERP.Model.Request.Warehouse Params)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user