查询工单详情

This commit is contained in:
qianhao.xu
2024-12-03 19:21:32 +08:00
parent 48a177fda3
commit fef6863e8d
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using DOAN.Model.MES.product;
namespace DOAN.Service.Mobile.IService;
public interface IReportFlowService: IBaseService<ProReportwork01>
{
ProWorkorder GetWorkOrderDetail(string workorder);
}

View File

@@ -0,0 +1,22 @@
using DOAN.Model.MES.product;
using DOAN.Model.Public;
using DOAN.Service.Mobile.IService;
using DOAN.Service.Public.IPublicService;
using Infrastructure.Attribute;
using Microsoft.AspNetCore.Mvc;
namespace DOAN.Service.Mobile;
/// <summary>
/// 广告管理Service业务层处理
/// </summary>
[AppService(ServiceType = typeof(IReportFlowService), ServiceLifetime = LifeTime.Transient)]
public class ReportFlowService : BaseService<ProReportwork01>, IReportFlowService
{
public ProWorkorder GetWorkOrderDetail(string workorder)
{
return Context.Queryable<ProWorkorder>().Where(x => x.Workorder == workorder).Single();
}
}