From b1aa3a97ed3fcc221a863b8a26ae447975e65907 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期三, 09 四月 2025 17:08:10 +0800 Subject: [PATCH] 4/9 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceTeamController.cs | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceTeamController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceTeamController.cs" index d7d9f43..0d467ac 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceTeamController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceTeamController.cs" @@ -1,6 +1,9 @@ -锘縰sing Microsoft.AspNetCore.Http; +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; 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; @@ -9,10 +12,24 @@ { [Route("api/[controller]")] [ApiController] - public class MaintenanceTeamController : ApiBaseController<IMaintenanceService, Dt_MaintenanceTeam> + public class MaintenanceTeamController : ApiBaseController<IMaintenanceTeamService, Dt_MaintenanceTeam> { - public MaintenanceTeamController(IMaintenanceService service) : base(service) + public MaintenanceTeamController(IMaintenanceTeamService service) : base(service) { + + + } + + + /// <summary> + /// 妫�淇缃褰� + /// </summary> + /// <returns></returns> + [HttpPost, Route("MaintenanceSettingRecord"), AllowAnonymous] + public WebResponseContent MaintenanceSettingRecord([FromBody] PaginationDTO pagination ) + { + return Service.MaintenanceSettingRecord(pagination); + } } } -- Gitblit v1.9.3