using System.Runtime.CompilerServices; using Mesnac.Action.ChemicalWeighing.LjMaterial; namespace Mesnac.Action.ChemicalWeighing.LjProportional { public class ProportionalDB:DBHelp { //select Id, Name, PV, SV from ProportionalSetting public static void Update(ProportionalSettingView view) { string sql = $" update ProportionalSetting set SV='{view.SV}' where id={view.Id}"; ExecuteNonQuery(sql); } } }