From 4a9cc5c48086d9332fc19ea6ba3302d201aa7383 Mon Sep 17 00:00:00 2001 From: wangsr Date: Mon, 28 Aug 2023 13:47:44 +0800 Subject: [PATCH] change - delete sql change --- .../LjMetageFormula/StockMaterialDb.cs | 2 +- .../MCEdit/Data/MCProject/nodeForm/FormProportionalSetting.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetageFormula/StockMaterialDb.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetageFormula/StockMaterialDb.cs index 62ec751..c9a92eb 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetageFormula/StockMaterialDb.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetageFormula/StockMaterialDb.cs @@ -83,7 +83,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetageFormula public static void SoftDel(string id) { - string sql = $"delete from lj_metage where IsEnable=0 where id='{id}'"; + string sql = $"delete from lj_metage where IsEnable=0 and id='{id}'"; ExecuteNonQuery(sql); } diff --git a/Main/MCEdit/Data/MCProject/nodeForm/FormProportionalSetting.xml b/Main/MCEdit/Data/MCProject/nodeForm/FormProportionalSetting.xml index 94d2de6..eca2d88 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/FormProportionalSetting.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/FormProportionalSetting.xml @@ -3,7 +3,7 @@ False - AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJoBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EYXRhR3JpZFZpZXdDb2x1bW5zLCBNZXNuYWMuQ29udHJv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