现场质量问题台账
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user