|
|
@@ -448,13 +448,15 @@ namespace Business.ResourceExamineManagement
|
|
|
List<ic_bom> bomlist = new List<ic_bom>();
|
|
|
List<ic_bom_child> bomchildlist = new List<ic_bom_child>();
|
|
|
List<ic_item> icitemlist = new List<ic_item>();
|
|
|
- var childBom = _ic_bom.GetManyByCondition(p => p.bom_number == bom_number).Result.FirstOrDefault();
|
|
|
- GetMongoDb(childBom, bomlist, bomchildlist, icitemlist);
|
|
|
+
|
|
|
//var bomlist = _ic_bom.GetAll().Result;
|
|
|
//var bomchildlist = _ic_bom_child.GetAll().Result;
|
|
|
//var icitemlist = _ic_item.GetAll().Result;
|
|
|
foreach (var o in sentrys)
|
|
|
{
|
|
|
+ var childBom = _ic_bom.GetManyByCondition(p => p.bom_number == o.bom_number).Result.FirstOrDefault();
|
|
|
+ GetMongoDb(childBom, bomlist, bomchildlist, icitemlist);
|
|
|
+
|
|
|
//工单资源检查信息
|
|
|
dtl = new ExamineResult();
|
|
|
dtl.sentry_id = o.Id;
|