SVN-Revision: r957
This commit is contained in:
tdx
2025-08-26 08:24:15 +00:00
parent 66bb6a3883
commit 668967bb89
3 changed files with 78 additions and 42 deletions
+27 -1
View File
@@ -153,4 +153,30 @@ namespace Lskj.PubBomImport
{
DataTable pmsTable = BaseImpl.GetDataTableResult($"select * from p_systemPopupPmsTab where unionId='{PupupMenuId}'");
EnumerableRowCollection<DataRow> dataRows = pmsTable.AsEnumerable();
DataRow pm
DataRow pmsRow = dataRows.Where(n => (n["pmsName"] + "").Equals("BeforeBomFieldName")).FirstOrDefault();
if (pmsRow != null)
{
BeforeBomFieldName = pmsRow["pmsValue"] + "";
}
pmsRow = dataRows.Where(n => (n["pmsName"] + "").Equals("AfterBomFieldName")).FirstOrDefault();
if (pmsRow != null)
{
AfterBomFieldName = pmsRow["pmsValue"] + "";
}
pmsRow = dataRows.Where(n => (n["pmsName"] + "").Equals("AfterAddBomSql")).FirstOrDefault();
if (pmsRow != null)
{
AfterAddBomSql = pmsRow["pmsValue"] + "";
}
}
}
/// <summary>
/// 设置模块编号
/// </summary>
/// <param name="moduleCode"></param>
public void ChangeModuleCode(string moduleCode)
{
base.ModuleCode = moduleCode;
}
}
}