20250730 安装清单

This commit is contained in:
2025-07-30 10:18:35 +08:00
parent 4d00499b03
commit 2fd46d73fd
2 changed files with 18 additions and 11 deletions
@@ -228,8 +228,9 @@ namespace FineUIPro.Web.HJGL.PreDesign
/// <returns></returns>
private DataTable BindData()
{
string strSql = @"WITH cte as (select pipeline.PipelineCode as PipelineCode,
string strSql = @"WITH cte as (select newid()as id,pipeline.PipelineCode as PipelineCode,
comonent.PipelineComponentCode as PipelineComponentCode,
'预制组件' as Stype,
'' as matdef,
packdetail.Number as Number,
pack.PackagingCode as PackagingCode,
@@ -244,8 +245,9 @@ namespace FineUIPro.Web.HJGL.PreDesign
left join HJGL_TrainNumberManage trainnumber on pack.TrainNumberId = TrainNumber.Id
where (packdetail.PipelineComponentId is not null or packdetail.PipelineComponentId != '')
union all
select pipeline.PipelineCode as PipelineCode,
select newid()as id,pipeline.PipelineCode as PipelineCode,
packdetail.MaterialCode as PipelineComponentCode,
'预制散件' as Stype,
matlib.MaterialDef as matdef,
packdetail.Number as Number,
pack.PackagingCode as PackagingCode,
@@ -356,10 +358,10 @@ namespace FineUIPro.Web.HJGL.PreDesign
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void TextBox_TextChanged(object sender, EventArgs e)
{
this.BindGrid();
}
//protected void TextBox_TextChanged(object sender, EventArgs e)
//{
// this.BindGrid();
//}
protected void btnTreeFind_Click1(object sender, EventArgs e)
{
this.InitTreeMenu();
@@ -394,6 +396,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
select new
{
线 = x.Field<string>("PipelineCode"),
= x.Field<string>("Stype"),
= x.Field<string>("PipelineComponentCode"),
= !string.IsNullOrWhiteSpace(x.Field<string>("matdef")) ? x.Field<string>("matdef") : "-",
= x.Field<decimal?>("Number"),