现场质量问题台账

This commit is contained in:
2026-01-19 15:31:10 +08:00
parent feb9e58357
commit d4f5233fe5
32 changed files with 520 additions and 212 deletions
@@ -7,7 +7,7 @@ using System.Collections;
namespace BLL
{
/// <summary>
/// NCR管理
/// 现场质量问题台账
/// </summary>
public static class NCRManagementService
{
@@ -84,7 +84,7 @@ namespace BLL
}
/// <summary>
/// 根据主键获取NCR管理
/// 根据主键获取现场质量问题台账
/// </summary>
/// <param name="nCRManagementId"></param>
/// <returns></returns>
@@ -94,7 +94,7 @@ namespace BLL
}
/// <summary>
/// 添加NCR管理
/// 添加现场质量问题台账
/// </summary>
/// <param name="nCRManagement"></param>
public static void AddNCRManagement(Model.Comprehensive_NCRManagement nCRManagement)
@@ -120,6 +120,8 @@ namespace BLL
newNCRManagement.Status = nCRManagement.Status;
newNCRManagement.Problem = nCRManagement.Problem;
newNCRManagement.Measure = nCRManagement.Measure;
newNCRManagement.Source = nCRManagement.Source;
newNCRManagement.ProgressStatus = nCRManagement.ProgressStatus;
newNCRManagement.RemarkCode = nCRManagement.RemarkCode;
newNCRManagement.Supervisor = nCRManagement.Supervisor;
db.Comprehensive_NCRManagement.InsertOnSubmit(newNCRManagement);
@@ -127,7 +129,7 @@ namespace BLL
}
/// <summary>
/// 修改NCR管理
/// 修改现场质量问题台账
/// </summary>
/// <param name="nCRManagement"></param>
public static void UpdateNCRManagement(Model.Comprehensive_NCRManagement nCRManagement)
@@ -153,6 +155,8 @@ namespace BLL
newNCRManagement.Status = nCRManagement.Status;
newNCRManagement.Problem = nCRManagement.Problem;
newNCRManagement.Measure = nCRManagement.Measure;
newNCRManagement.Source = nCRManagement.Source;
newNCRManagement.ProgressStatus = nCRManagement.ProgressStatus;
newNCRManagement.RemarkCode = nCRManagement.RemarkCode;
newNCRManagement.Supervisor = nCRManagement.Supervisor;
db.SubmitChanges();
@@ -160,7 +164,7 @@ namespace BLL
}
/// <summary>
/// 根据主键删除NCR管理
/// 根据主键删除现场质量问题台账
/// </summary>
/// <param name="nCRManagementId"></param>
public static void DeleteNCRManagement(string nCRManagementId)
+3 -2
View File
@@ -3290,9 +3290,10 @@ namespace BLL
/// </summary>
public const string TechnologyUrl = "File\\Excel\\TestRun\\设备一览表.xlsx";
/// <summary>
/// NCR管理导入模版文件原始的虚拟路径
/// 现场质量问题台账导入模版文件原始的虚拟路径
/// </summary>
public const string NCRManagementDataInUrl = "File\\Excel\\DataIn\\NCR管理导入模板.xls";
public const string NCRManagementDataInUrlOld = "File\\Excel\\DataIn\\现场质量问题台账导入模板.xls";
/// <summary>
/// WBS导入模版文件原始的虚拟路径
/// </summary>
@@ -4224,7 +4225,7 @@ namespace BLL
public const string Inspection_Test_PlanMenuId = "A70EA41D-0B45-4753-AC77-BF28DA066402";
/// <summary>
/// NCR管理
/// 现场质量问题台账
/// </summary>
public const string NCRManagementMenuId = "7e628f48-385f-4d52-8063-d0f812514316";