From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 30 4月 2025 16:24:16 +0800
Subject: [PATCH] 222

---
 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