This commit is contained in:
2025-08-23 18:22:55 +08:00
parent c6394b4d21
commit bfc55b7990
8 changed files with 182 additions and 18 deletions

View File

@@ -0,0 +1,50 @@
using MyCode.Project.Domain.Message.Act.Common;
using MyCode.Project.Domain.Message.Response.LxmZHMDReport;
using MyCode.Project.Infrastructure.Common;
using MyCode.Project.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MyCode.Project.WebApi.Controllers
{
/// <summary>
/// 生产订单
/// </summary>
public class PrdMoController : BaseAPIController
{
private IPrdOrderService _prdOrderService;
/// <summary>
/// 生产订单
/// </summary>
public PrdMoController(IPrdOrderService prdOrderService)
{
_prdOrderService = prdOrderService;
}
/// <summary>
/// 获取生产订单
/// </summary>
[AllowAnonymous]
[HttpPost]
public PageResult<PrdMoOrderResp> GetMoRespData(PagedSearch pagedSearch)
{
return _prdOrderService.GetPrdMoPageList(pagedSearch);
}
/// <summary>
/// 获取生产订单
/// </summary>
[AllowAnonymous]
[HttpPost]
public PageResult<PrdMoOrderEntryResp> GetMoEntryRespData(PagedSearch<IdAct> search)
{
return _prdOrderService.GetPrdMoEntryPageList(search);
}
}
}

View File

@@ -209,6 +209,7 @@
<Compile Include="Areas\Wechat\Controllers\BaseWechatController.cs" />
<Compile Include="Areas\Wechat\Controllers\ReportController.cs" />
<Compile Include="Controllers\BaseAPIController.cs" />
<Compile Include="Controllers\PrdMoController.cs" />
<Compile Include="Controllers\TestController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>