服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-10-14 07a89d9d534aab73d4e7a4812a0d78312af72b58
Tiger.Business.MES/BIZ/BIZ_MES_WO.cs
@@ -380,12 +380,12 @@
            try
            {
                QueryAble<BAS_LABEL_VAR_WO> query = new();
                if (input.WorkOrder.IsNullOrEmpty())
                {
                    result.IsSuccessed = false;
                    result.LocaleMsg = new($"工单号不能为空!");
                    return result;
                }
                //if (input.WorkOrder.IsNullOrEmpty())
                //{
                //    result.IsSuccessed = false;
                //    result.LocaleMsg = new($"工单号不能为空!");
                //    return result;
                //}
                var labeltemp = Biz.Db.Queryable<BAS_LABEL_TEMP>().Where(q => q.LABEL_CODE.Equals(input.LabelId) || q.ID.Equals(input.LabelId)).First();
                if (labeltemp == null)
                {