异常开始结束带代码提交
This commit is contained in:
16
EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldHouseService.cs
Normal file
16
EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldHouseService.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tnb.EquipMgr.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 目录库房服务接口
|
||||
/// </summary>
|
||||
public interface IToolMoldHouseService
|
||||
{
|
||||
Task<Dictionary<string, object>> GetHouseDictionary();
|
||||
}
|
||||
}
|
||||
16
EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldLocationService.cs
Normal file
16
EquipMgr/Tnb.EquipMgr.Interfaces/IToolMoldLocationService.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tnb.EquipMgr.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 模具库位服务接口
|
||||
/// </summary>
|
||||
public interface IToolMoldLocationService
|
||||
{
|
||||
Task<Dictionary<string, object>> GetLocationDictionary();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Tnb.EquipMgr.Entities;
|
||||
|
||||
namespace Tnb.EquipMgr.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 模具维修任务接口
|
||||
/// </summary>
|
||||
public interface IToolMoldMaintainTaskService
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建模具维修任务
|
||||
/// </summary>
|
||||
/// <param name="entity">维修任务记录 </param>
|
||||
/// <returns></returns>
|
||||
Task Create(ToolMoldMaintainTask entity);
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,8 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Tnb.EquipMgr.Entities;
|
||||
using Tnb.EquipMgr.Entities.Dto;
|
||||
|
||||
namespace Tnb.EquipMgr.Interfaces
|
||||
@@ -29,5 +31,22 @@ namespace Tnb.EquipMgr.Interfaces
|
||||
/// <param name="equipid"></param>
|
||||
/// <returns></returns>
|
||||
public Task<dynamic> DetachData(ToolMoldInput ToolMoldInput);
|
||||
/// <summary>
|
||||
/// 获取列表根据传入的Id集合
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Task<List<ToolMolds>> GetListByIds(List<string> ids);
|
||||
/// <summary>
|
||||
/// 根据设备ID获取模具信息
|
||||
/// </summary>
|
||||
/// <param name="eqpId"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<ToolMolds>> GetListByEqpId([FromRoute] string eqpId);
|
||||
/// <summary>
|
||||
/// 根据模具id获取模具信息
|
||||
/// </summary>
|
||||
/// <param name="moldId"></param>
|
||||
/// <returns></returns>
|
||||
Task<ToolMolds> GetListById(string moldId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user