Merge branch 'YanShi' of http://8.130.121.29:3000/Develop/YunTongJackYunTask into YanShi
# Conflicts: # Reportapi/MyCode.Project.Services/MyCode.Project.Services.csproj
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user