feat: 完善焊接质量检查和材料管理

补齐焊前专项审核和焊缝外观检测流程,统一质检查询、附件处理与材料明细导出,提升业务数据追溯和组件匹配使用效率。
This commit is contained in:
2026-08-10 17:58:55 +08:00
parent bd73295ff8
commit 2de696fad2
48 changed files with 2252 additions and 131 deletions
@@ -108,6 +108,16 @@
/// </summary>
public int welderType { get; set; }
/// <summary>
/// 焊接方法ID;兼容旧版小程序,可不传
/// </summary>
public string WeldingMethodId { get; set; }
/// <summary>
/// 焊缝类型ID;兼容旧版小程序,可不传
/// </summary>
public string WeldTypeId { get; set; }
/// <summary>
/// 焊前附件路径
/// </summary>
@@ -102,6 +102,20 @@ namespace Model
/// </summary>
public class PreWeldMaterialItem
{
/// <summary>
/// 管线材料ID
/// </summary>
public string PipeLineMatId { get; set; }
/// <summary>
/// 焊口侧序号
/// </summary>
public int MaterialSide { get; set; }
/// <summary>
/// 材料主编码
/// </summary>
public string MainCode { get; set; }
/// <summary>
/// 材料编码
@@ -221,6 +235,16 @@ namespace Model
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 专项审核办理人;材料编码或批次不准确时必填
/// </summary>
public string SpecialReviewerId { get; set; }
/// <summary>
/// 两侧材料主编码反馈
/// </summary>
public List<PreWeldCuttingMaterialInput> Materials { get; set; }
}
/// <summary>
@@ -332,6 +356,37 @@ namespace Model
/// 备注
/// </summary>
public string Remark { get; set; }
public int ReviewState { get; set; }
public string ReviewStateText { get; set; }
public string SpecialReviewerId { get; set; }
public string SpecialReviewerName { get; set; }
public string ReviewerId { get; set; }
public string ReviewerName { get; set; }
public DateTime? ReviewTime { get; set; }
public List<PreWeldCuttingMaterialItem> Materials { get; set; }
}
public class PreWeldCuttingMaterialInput
{
public string PipeLineMatId { get; set; }
public int MaterialSide { get; set; }
public string ReportedMainCode { get; set; }
}
public class PreWeldCuttingMaterialItem : PreWeldCuttingMaterialInput
{
public string OriginalMainCode { get; set; }
public bool IsBatchChanged { get; set; }
}
public class PreWeldCuttingCheckReviewInput
{
public string CuttingCheckId { get; set; }
public string ReviewerId { get; set; }
public DateTime? ReviewTime { get; set; }
public string Remark { get; set; }
public List<PreWeldCuttingMaterialInput> Materials { get; set; }
}
/// <summary>
@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
namespace Model
{
public class WeldAppearanceCheckInput
{
public string AppearanceCheckId { get; set; }
public string ProjectId { get; set; }
public string WeldJointId { get; set; }
public bool IsQualified { get; set; }
public string CheckPerson { get; set; }
public DateTime? CheckTime { get; set; }
public string Remark { get; set; }
public string AttachUrl { get; set; }
public string CreateUser { get; set; }
}
public class WeldAppearanceCheckItem
{
public string AppearanceCheckId { get; set; }
public string ProjectId { get; set; }
public string WeldJointId { get; set; }
public string PipelineCode { get; set; }
public string WeldJointCode { get; set; }
public bool IsQualified { get; set; }
public string QualifiedText { get; set; }
public string CheckPerson { get; set; }
public string CheckPersonName { get; set; }
public DateTime CheckTime { get; set; }
public string Remark { get; set; }
public string AttachUrl { get; set; }
public DateTime CreateTime { get; set; }
}
public class WeldAppearanceJointItem
{
public string WeldJointId { get; set; }
public string ProjectId { get; set; }
public string PipelineCode { get; set; }
public string WeldJointCode { get; set; }
public string WeldTypeCode { get; set; }
public string WeldingMethodCode { get; set; }
public DateTime? WeldingDate { get; set; }
public List<WeldAppearanceCheckItem> History { get; set; }
}
}