事件巡检类型修改
This commit is contained in:
parent
03bb586a21
commit
e2c7ea7779
@ -520,7 +520,7 @@ namespace YunDa.Server.ISMSTcp.Services
|
|||||||
}
|
}
|
||||||
|
|
||||||
//检测巡检计划中的计划
|
//检测巡检计划中的计划
|
||||||
private async Task CheckPlanFormIds(List<Guid> planIds)
|
private async Task CheckPlanFormIds(List<SecondaryCircuitInspectionItemOutput> planIds)
|
||||||
{
|
{
|
||||||
if (_planList == null)
|
if (_planList == null)
|
||||||
return;
|
return;
|
||||||
@ -539,7 +539,7 @@ namespace YunDa.Server.ISMSTcp.Services
|
|||||||
{
|
{
|
||||||
foreach (var item in plan.Plan.InspectionItems)
|
foreach (var item in plan.Plan.InspectionItems)
|
||||||
{
|
{
|
||||||
if (planIds.IndexOf(item.Id) > -1 && item.IsActive)
|
if(planIds.Find( e => e.Id == item.Id) != null && item.IsActive)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrWhiteSpace(item.CalculationExpression) && !string.IsNullOrWhiteSpace(item.Id.ToString()))
|
if (!string.IsNullOrWhiteSpace(item.CalculationExpression) && !string.IsNullOrWhiteSpace(item.Id.ToString()))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user