分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-01-26 13137e3acdb759d1541f754fba81c616f418e2a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.FreeDB;
using WIDESEA_Entity.DomainModels;
 
namespace WIDESEA_WMS
{
    public class QueryData
    {
        static FreeDB freeDB = new FreeDB();
        /// <summary>
        /// 查询物料信息
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public static dt_materielinfo QueryMateriel(string type)
        {
            var materielinfo = freeDB.Select<dt_materielinfo>().Where(x => x.materiel_id == type).First();
            return materielinfo;
        }
    }
}