Commit 84393164 by xin.yang

fix bug

parent 3a8014a9
......@@ -38,7 +38,7 @@ namespace Siger.Middlelayer.QmsRepository.Entities
public int routeid { get; set; }
/// <summary>
/// 检验类型 1->首检2->巡检3->末检4->标准件检
/// 检验类型
/// </summary>
public int check_type { get; set; }
......
......@@ -173,7 +173,7 @@ namespace Siger.Middlelayer.QmsRepository.Repositories
SectionID = q.sectionid,
WorkOrder = q.workorder,
SN = q.sn,
Result = q.result,
Result = q.result == ((int)SendTestType.Unqualified).ToString() ? "NG" : "OK",
UserID = q.checking_mid,
CreateTime = q.check_time > DateTime.MinValue ? q.check_time.Value : DateTime.MinValue,
RouteID = q.routeid,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment