# Conflicts:
#	Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj
This commit is contained in:
liqionghai
2025-08-24 13:07:09 +08:00
51 changed files with 2542 additions and 388 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);
}
}
}