20220923 焊接终版测试修改
This commit is contained in:
@@ -221,12 +221,14 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
var dt = pds.AsEnumerable()
|
||||
.GroupBy(x => new {
|
||||
pipelinecode = x.Field<string>("管线号"),
|
||||
PipelineComponentCode = x.Field<string>("预制组件")
|
||||
PipelineComponentCode = x.Field<string>("预制组件"),
|
||||
DrawingName = x.Field<string>("预制图纸名称"),
|
||||
})
|
||||
.Select(x => new
|
||||
{
|
||||
pipelinecode = x.Key.pipelinecode,
|
||||
PipelineComponentCode = x.Key.PipelineComponentCode,
|
||||
DrawingName = x.Key.DrawingName,
|
||||
QRCode = String.Join("&", x.Select(z => z.Field<string>("二维码信息")))
|
||||
});
|
||||
foreach (var item in dt)
|
||||
@@ -244,6 +246,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
rootName.QRCode.Add(qRCodeQRCodeItem);
|
||||
}
|
||||
hJGL_Pipeline_Component.QRCode = JsonConvert.SerializeObject(rootName);
|
||||
hJGL_Pipeline_Component.DrawingName = item.DrawingName;
|
||||
Pipeline_ComponentList.Add(hJGL_Pipeline_Component);
|
||||
}
|
||||
errorInfos = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user