From c5eecec4c618a9f0a981fdb99c5f6875973969c8 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期一, 10 二月 2025 16:55:54 +0800 Subject: [PATCH] 职员,班组,工序,生产资源,工艺路线页面优化 --- WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs b/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs index e615122..434a27f 100644 --- a/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs @@ -870,6 +870,13 @@ objJsonResult.Message = "娌℃湁鏁版嵁锛屾棤娉曞垹闄わ紒"; objJsonResult.data = null; return objJsonResult; ; + }else if (ds.Tables[0].Rows[0]["HCheckEmp"] !=null && ds.Tables[0].Rows[0]["HCheckEmp"].ToString() != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鑱屽憳宸茬粡瀹℃牳涓嶈兘鍒犻櫎锛�"; + objJsonResult.data = null; + return objJsonResult; ; } else { -- Gitblit v1.9.1