From d0f6bfb4595d0c58d0b0d3335b3e06c7e488997f Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Mon, 14 Oct 2024 17:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=98=AF=E6=B3=A8=E5=A1=91=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E6=8A=A5=E8=BD=BD=E5=85=B7=E7=9B=B4=E6=8E=A5=E5=90=88?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index f8075c97..81a5d52a 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -2159,6 +2159,15 @@ namespace Tnb.ProductionMgr // bool isCheckFlag = !basMaterial.category_id.Contains("ZZCP"); bool isCheckFlag = basMaterial.category_id.Contains("ZSJ"); + //不是注塑的提报直接合格 + if (!isCheckFlag) + { + await _db.Updateable() + .SetColumns(x => x.is_check == EnumCheckConclusion.合格.ParseToInt().ToString()) + .Where(x => x.id == wmsCarryH.id) + .ExecuteCommandAsync(); + } + #region 质检模块 //质检模块