diff --git a/插件库/Lskj.PubProductSysMge/FrmMain.cs b/插件库/Lskj.PubProductSysMge/FrmMain.cs index 301e41b..0a2f3fd 100644 --- a/插件库/Lskj.PubProductSysMge/FrmMain.cs +++ b/插件库/Lskj.PubProductSysMge/FrmMain.cs @@ -1717,10 +1717,9 @@ namespace Lskj.PubProductSysMge DataRow focusRow = this.gcMain.GridView.GetFocusedDataRow(); if (focusRow == null) return; string primaryVlaue = focusRow["productid"] + ""; - //DataRow selectSource = MainImpl.GetDataRowResult(string.Format("select * from p_producttab where productid = '{0}'", primaryVlaue)); //string projectId = selectSource["SmartBmFa"] + ""; //string speciesNo = selectSource["speciesNo"] + ""; - string projectId = focusRow["SmartBmFa"] + ""; + string projectId = BaseImpl.GetResult(string.Format("select SmartBmFa from p_producttab where productid = '{0}'", primaryVlaue)) + ""; string speciesNo = focusRow["speciesNo"] + ""; if (string.IsNullOrEmpty(projectId)) {