From 1e270a1329bbb77b594df2290f15caa34c56668e Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期三, 17 九月 2025 16:23:19 +0800 Subject: [PATCH] 1、条码增加唯一判断 --- MESApplication/Controllers/BasicData/ProductionOrderController.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/BasicData/ProductionOrderController.cs b/MESApplication/Controllers/BasicData/ProductionOrderController.cs index 6fc08e4..18fbea9 100644 --- a/MESApplication/Controllers/BasicData/ProductionOrderController.cs +++ b/MESApplication/Controllers/BasicData/ProductionOrderController.cs @@ -21,8 +21,7 @@ private readonly string TableName = "PRODUCTION_ORDER"; - private readonly string URL = - "http://localhost:10054/api/ProductionOrder/"; + private readonly string URL = "http://localhost:10054/api/ProductionOrder/"; // [HttpPost("Save")] @@ -44,7 +43,10 @@ resultInfos.tbBillList = save; entity.Result = 0; - if (save) entity.Result = 1; + if (save) + { + entity.Result = 1; + } entity.DealWith = 1; _manager.save(entity); -- Gitblit v1.9.3