51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|