SVN r957
SVN-Revision: r957
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user