添加项目文件。
This commit is contained in:
42
Epost.DAL/WmsTaskDAL.cs
Normal file
42
Epost.DAL/WmsTaskDAL.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using Epost.Common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.OracleClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static Epost.Common.LogHelper;
|
||||
|
||||
namespace Epost.DAL
|
||||
{
|
||||
public class WmsTaskDAL
|
||||
{
|
||||
DB_Oracle DB_Oracle = new DB_Oracle();
|
||||
DataBaseOpration.OprationOraDAL db;
|
||||
|
||||
public WmsTaskDAL()
|
||||
{
|
||||
db = DB_Oracle.GetInstance();
|
||||
}
|
||||
#region 查询条码对照列表
|
||||
public DataTable SkuList()
|
||||
{
|
||||
try
|
||||
{
|
||||
string sql = string.Format("select * from tdas_sortplu");
|
||||
|
||||
return db.GetsqlForDT(sql);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
LogHelper.WriteLogInfo("查询WMSSKU列表异常:" + ex.Message);
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user