You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
671 B
22 lines
671 B
using WMS_GIRAF_Interface.Data;
|
|
using WMS_GIRAF_Interface.Entities;
|
|
using WMS_GIRAF_Interface.Repositories.Interface;
|
|
|
|
namespace WMS_GIRAF_Interface.Repositories.Implement;
|
|
|
|
public class IoControlRepository(MichelinDbContext context, ILogger<IoControlRepository> logger):IIoControlRepository
|
|
|
|
{
|
|
//获取Io Control 表数据
|
|
/// <summary>
|
|
/// 获取io control数据
|
|
/// </summary>
|
|
/// <param name="manageId"></param>
|
|
/// <returns></returns>
|
|
public IO_CONTROL? GetIoControlTaskByManageId(int manageId)
|
|
{
|
|
|
|
var ioControlInfo = context.IoControl.FirstOrDefault(x => x.MANAGE_ID == manageId);
|
|
return ioControlInfo;
|
|
}
|
|
}
|