43 lines
953 B
C#
43 lines
953 B
C#
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
|
||
|
||
}
|
||
}
|