From 9f0add00d40fc00e039b92b2fb3469394b1a24f5 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 28 三月 2025 14:28:59 +0800
Subject: [PATCH] 111

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs"
index c6ff046..3508240 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs"
@@ -3,6 +3,7 @@
 using Microsoft.AspNetCore.Mvc;
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
+using WIDESEAWCS_DTO.Telescopic;
 using WIDESEAWCS_ITelescopicService;
 using WIDESEAWCS_IWMSPart;
 using WIDESEAWCS_Model.Models;
@@ -22,10 +23,10 @@
         /// 鏌ョ湅妫�淇鐞�
         /// </summary>
         /// <returns></returns>
-        [HttpGet,Route("ShowMaintence"),AllowAnonymous]
-        public WebResponseContent ShowMaintence()
+        [HttpPost,Route("ShowMaintence"),AllowAnonymous]
+        public WebResponseContent ShowMaintence([FromBody] PaginationDTO pagination)
         {
-            return Service.ShowMaintence();
+            return Service.ShowMaintence(pagination);
         }
 
         /// <summary>
@@ -33,9 +34,9 @@
         /// </summary>
         /// <returns></returns>
         [HttpPost, Route("PersonnelMonitoring"), AllowAnonymous]
-        public WebResponseContent PersonnelMonitoring(bool ispossible)
+        public WebResponseContent PersonnelMonitoring([FromBody] PaginationDTO pagination)
         {
-            return Service.PersonnelMonitoring(ispossible);
+            return Service.PersonnelMonitoring(pagination);
         }
 
 
@@ -45,9 +46,9 @@
         /// <param name="id"></param>
         /// <returns></returns>
         [HttpPost,Route("RunOperation"), AllowAnonymous]
-        public WebResponseContent RunOperation(int id)
+        public WebResponseContent RunOperation(int id, string ispossible)
         {
-            return Service.RunOperation(id);
+            return Service.RunOperation(id,ispossible);
         }
 
         /// <summary>
@@ -60,5 +61,16 @@
         {
             return Service.ChangeTasState(id);
         }
+
+
+        /// <summary>
+        /// 妫�淇搷浣滆褰�
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("MaintenanceOperationRecord"), AllowAnonymous]
+        public WebResponseContent MaintenanceOperationRecord([FromBody] PaginationDTO pagination)
+        {
+            return Service.MaintenanceOperationRecord(pagination);
+        }
     }
 }

--
Gitblit v1.9.3