stringSQL=$@"UPDATE LQKJ_SettupParameters SET F_LQKJ_Unitvolume={F_LQKJ_Unitvolume}, F_LQKJ_Warehouserent={F_LQKJ_Warehouserent}, F_LQKJ_Unloadingfee={F_LQKJ_Unloadingfee}, F_LQKJ_Loadingfee={F_LQKJ_Loadingfee}, F_LQKJ_Sortingfees={F_LQKJ_Sortingfees} WHERE Id=1";
stringSQL=$@"UPDATE LQKJ_SettupParameters SET F_LQKJ_Unitvolume={F_LQKJ_Unitvolume}, F_LQKJ_Warehouserent={F_LQKJ_Warehouserent}, F_LQKJ_Unloadingfee={F_LQKJ_Unloadingfee}, F_LQKJ_Loadingfee={F_LQKJ_Loadingfee}, F_LQKJ_Sortingfees={F_LQKJ_Sortingfees} WHERE Id=1";
// 执行添加数据的SQL语句
// 执行添加数据的SQL语句
DBUtils.Execute(this.Context,SQL);
DBUtils.Execute(this.Context,SQL);
this.View.Close();
this.View.Close();
this.View.ParentFormView.UpdateView();
this.View.ParentFormView.UpdateView();
}
}
elseif(result==MessageBoxResult.No)
{
//如果选择的否,给备注赋值,否
//this.View.Close();
return;
}
// 清空 combinedMessages 列表
combinedMessages.Clear();
}));
}
else
{
//如果选择的是,给备注赋值,是
stringSQL=$@"UPDATE LQKJ_SettupParameters SET F_LQKJ_Unitvolume={F_LQKJ_Unitvolume}, F_LQKJ_Warehouserent={F_LQKJ_Warehouserent}, F_LQKJ_Unloadingfee={F_LQKJ_Unloadingfee}, F_LQKJ_Loadingfee={F_LQKJ_Loadingfee}, F_LQKJ_Sortingfees={F_LQKJ_Sortingfees} WHERE Id=1";