| | |
| | | using CMS.Extensions.Abp.AspNetCore.Mvc.Filters; |
| | | using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.WorkPlan; |
| | | using CMS.Plugin.PipeLineLems.Application.Contracts.Services; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Reflection; |
| | | |
| | |
| | | public class WorkPlanController : ControllerBase |
| | | { |
| | | |
| | | |
| | | private readonly IMesAppService _mesAppService; |
| | | /// <summary> |
| | | /// Initializes a new instance of the <see cref="TestEntityNameController"/> class. |
| | | /// </summary> |
| | | /// <param name="testentitynameAppService">The testentityname application service.</param> |
| | | public WorkPlanController() |
| | | public WorkPlanController(IMesAppService mesAppService) |
| | | { |
| | | |
| | | _mesAppService = mesAppService; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | /// <param name="input">标识符.</param> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | public virtual Task GetWorkPlanAsync([FromQuery] List<WorkPlanInput> input) |
| | | [HttpPost] |
| | | public virtual async Task<MesOrderResponse> GetWorkPlanAsync([FromBody] List<WorkPlanInput> input) |
| | | { |
| | | // 内部业务逻辑暂时为空 |
| | | return null; |
| | | return await _mesAppService.CreateAsync(input); |
| | | } |
| | | |
| | | |