Exemplo n.º 1
0
        public List <LXJHGLInstance> ImportTasks(List <LXJHGLInstance> tasks)
        {
            DALXJHGLS daTask = new DALXJHGLS(base.dbParam);

            //QRItem qrItem = new QRItem(base.dbParam);
            //foreach (var task in tasks)
            //{
            //    var item = qrItem.GetItemMaster(task.Id, "TIPART", Guid.Empty);
            //    if (item == null)
            //    {
            //        task.Bz = "PLM中不存在此零件";
            //        duplicatedItems.Add(task);
            //    }

            //}
            return(daTask.ImportTasks(tasks));
        }
Exemplo n.º 2
0
        public List<LXJHGLInstance> ImportTasks(List<LXJHGLInstance> tasks)
        {
            DALXJHGLS daTask = new DALXJHGLS(base.dbParam);

            //QRItem qrItem = new QRItem(base.dbParam);
            //foreach (var task in tasks)
            //{
            //    var item = qrItem.GetItemMaster(task.Id, "TIPART", Guid.Empty);
            //    if (item == null)
            //    {
            //        task.Bz = "PLM中不存在此零件";
            //        duplicatedItems.Add(task);
            //    }

            //}
            return daTask.ImportTasks(tasks);
        }