From 2fd8242a14241beba63e71c6f4222b702f0e2f30 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周二, 06 5月 2025 16:54:44 +0800
Subject: [PATCH] wwww
---
PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanController.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanController.cs b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanController.cs
index f329482..efd9c7f 100644
--- a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanController.cs
+++ b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanController.cs
@@ -1,5 +1,6 @@
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;
@@ -17,14 +18,14 @@
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>
@@ -32,11 +33,10 @@
/// </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);
}
--
Gitblit v1.9.3