1
This commit is contained in:
@@ -446,12 +446,12 @@ namespace DOAN.Service.MES.dev
|
|||||||
if(planType == 1)
|
if(planType == 1)
|
||||||
{
|
{
|
||||||
check_type= Context.Queryable<DeviceRouteInspectionPlan>().Where(it => it.Id == fkPlanId)
|
check_type= Context.Queryable<DeviceRouteInspectionPlan>().Where(it => it.Id == fkPlanId)
|
||||||
.Where(it => it.InnerType == planType).Select(it => it.InnerType.Value).First();
|
.Select(it => it.InnerType.Value).First();
|
||||||
|
|
||||||
}else if (planType == 2)
|
}else if (planType == 2)
|
||||||
{
|
{
|
||||||
check_type = Context.Queryable<DevicePointInspectionPlan>().Where(it => it.Id == fkPlanId)
|
check_type = Context.Queryable<DevicePointInspectionPlan>().Where(it => it.Id == fkPlanId)
|
||||||
.Where(it => it.InnerType == planType).Select(it => it.InnerType.Value).First();
|
.Select(it => it.InnerType.Value).First();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user