From 819289e1cfaa581fd6aafe9e43f5450d2860ba56 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期三, 08 三月 2023 12:48:44 +0800
Subject: [PATCH] 车间看板四个角数据关联设备取报工记录设备

---
 VueWebApi/DLL/DAL/BasicSettingDAL.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/VueWebApi/DLL/DAL/BasicSettingDAL.cs b/VueWebApi/DLL/DAL/BasicSettingDAL.cs
index ab4eda0..282cd8f 100644
--- a/VueWebApi/DLL/DAL/BasicSettingDAL.cs
+++ b/VueWebApi/DLL/DAL/BasicSettingDAL.cs
@@ -244,7 +244,7 @@
                 }
                 else
                 {
-                    sql = @"update TOrganization set is_delete='1'  where id=@orgid";
+                    sql = @"delete TOrganization  where id=@orgid";
                     dynamicParams.Add(@"orgid", orgid);
                     cont = DapperHelper.SQL(sql, dynamicParams);
                     if (cont > 0)

--
Gitblit v1.9.3