using DOAN.Model.MES.product;
using DOAN.Service.MES.product.IService;
using Infrastructure.Attribute;
using Infrastructure.Extensions;
namespace DOAN.Service.MES.product
{
///
/// 工单导出服务
///
[AppService(ServiceType = typeof(IProWorkorderExportService), ServiceLifetime = LifeTime.Transient)]
public class ProWorkorderExportService : BaseService, IProWorkorderExportService
{
///
/// 工单导出
///
///
///
public List WorkOrderExport(DateTime exportTime)
{
exportTime = exportTime.Date;
return Context
.Queryable()
.Where(it => it.WorkorderDate == exportTime)
.ToList();
}
}
}