设备管理BUG修复
This commit is contained in:
parent
d4228b34cd
commit
9f620c70c1
@ -16,8 +16,8 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
/// <summary>
|
||||
/// 设备检查项
|
||||
/// </summary>
|
||||
[Verify]
|
||||
[Route("mes/deviceManagement/DeviceInspect")]
|
||||
[AllowAnonymous]
|
||||
public class DeviceInspectController : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@ -12,8 +12,8 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
/// <summary>
|
||||
/// 巡检计划
|
||||
/// </summary>
|
||||
[Verify]
|
||||
[Route("mes/deviceManagement/DeviceRouteInspectionPlan")]
|
||||
[AllowAnonymous]
|
||||
public class DeviceRouteInspectionPlanController : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@ -52,6 +52,7 @@
|
||||
<ItemGroup>
|
||||
<Folder Include="Controllers\mes\andon\" />
|
||||
<Folder Include="Properties\PublishProfiles\" />
|
||||
<Folder Include="wwwroot\2025\1212\" />
|
||||
<Folder Include="wwwroot\export\" />
|
||||
<Folder Include="wwwroot\Generatecode\" />
|
||||
<Folder Include="wwwroot\workorder\" />
|
||||
|
||||
@ -14,6 +14,8 @@ namespace ZR.Model.MES.dev.Dto
|
||||
public DateTime? LifeCycleEnd { get; set; }
|
||||
public int? ExcuteCycleType { get; set; }
|
||||
public int? InnerType { get; set; }
|
||||
|
||||
public int? Status { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -32,8 +32,8 @@ namespace ZR.Service.MES.dev
|
||||
.AndIF(parm.LifeCycleStart != null, it => it.LifeCycleStart >= parm.LifeCycleStart)
|
||||
.AndIF(parm.LifeCycleEnd != null, it => it.LifeCycleEnd <= parm.LifeCycleEnd)
|
||||
.AndIF(parm.ExcuteCycleType > 0, it => it.ExcuteCycleType == parm.ExcuteCycleType)
|
||||
.AndIF(parm.InnerType>-1, it => it.InnerType == parm.InnerType);
|
||||
|
||||
.AndIF(parm.InnerType>-1, it => it.InnerType == parm.InnerType)
|
||||
.AndIF(parm.Status != null, it => it.Status == parm.Status);
|
||||
var response = Queryable()
|
||||
.Where(predicate.ToExpression())
|
||||
.ToPage<DeviceRouteInspectionPlan, DeviceRouteInspectionPlanDto>(parm);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user