From 243d98b11a1b0b30e2ce2e7f2622adbbc5832896 Mon Sep 17 00:00:00 2001 From: qian Date: Wed, 11 Sep 2024 09:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BD=9C=E5=BA=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UniApiGroup/Controller/OdbcApiQadController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/UniApiGroup/Controller/OdbcApiQadController.cs b/UniApiGroup/Controller/OdbcApiQadController.cs index d0f513a..f676a61 100644 --- a/UniApiGroup/Controller/OdbcApiQadController.cs +++ b/UniApiGroup/Controller/OdbcApiQadController.cs @@ -816,13 +816,13 @@ namespace CK.SCP.GrupUniApi.Controller var xxMaxbath = new List(); var Dlist = list.Where(p => p.ctype == "D"); var Ilist = list.Where(p => p.ctype != "D"); - var _li = Dlist.GroupBy(p => p.purDocNO); - foreach (var _lii in _li) + //var _li = Dlist.GroupBy(p => p.purDocNO); + foreach (var _lii in Dlist) { - var _liii = _lii.ToList(); - var _entity = _liii.First(); + //var _liii = _lii.ToList(); + //var _entity = _liii.First(); // ¸ù¾Ý Áã¼þºÅ×÷·Ï - var askdetaill = wdb.TB_ASK_DETAIL.Where(p => p.PoBillNum == _entity.purDocNO && p.PartCode == _entity.mtlNO).ToList(); + var askdetaill = wdb.TB_ASK_DETAIL.Where(p => p.PoBillNum == _lii.purDocNO && p.PartCode == _lii.mtlNO).ToList(); askdetaill.ForEach(p => { p.State = -1;