From 6531b52f50f7dc94ac9136d4eb1d3ecec765516e Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 30 4月 2025 17:13:14 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo

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