0
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user