From 29d3961150f214a08a14889a3924717f6df4c8ea Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Mon, 12 May 2025 13:27:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=97=AE=E5=8D=B7=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=E6=B1=A0=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Ghre/Ghre_SurveyQuestionPoolController.cs | 4 ++-- Tiobon.Core.Api/Tiobon.Core.xml | 4 ++-- .../Ghre/IGhre_SurveyQuestionPoolServices.cs | 4 ++-- .../Ghre/Ghre_SurveyQuestionPoolServices.cs | 6 +----- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Tiobon.Core.Api/Controllers/Ghre/Ghre_SurveyQuestionPoolController.cs b/Tiobon.Core.Api/Controllers/Ghre/Ghre_SurveyQuestionPoolController.cs index b3e8c5a8..fc9bff9c 100644 --- a/Tiobon.Core.Api/Controllers/Ghre/Ghre_SurveyQuestionPoolController.cs +++ b/Tiobon.Core.Api/Controllers/Ghre/Ghre_SurveyQuestionPoolController.cs @@ -37,7 +37,7 @@ public class Ghre_SurveyQuestionPoolController : BaseController /// [HttpPost("InsertFrom")] - public async Task InsertFrom([FromBody] InsertGhre_SurveyQuestionExtend insertModel) + public async Task InsertFrom([FromBody] FromGhre_SurveyQuestionPoolPageData insertModel) { return await _service.InsertFrom(insertModel); } @@ -52,7 +52,7 @@ public class Ghre_SurveyQuestionPoolController : BaseController [HttpPost("UpdateFrom/{Id}")] - public async Task UpdateFrom(long Id, [FromBody] InsertGhre_SurveyQuestionExtend editModel) + public async Task UpdateFrom(long Id, [FromBody] FromGhre_SurveyQuestionPoolPageData editModel) { return await _service.UpdateFrom(Id, editModel); } diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml index 7ecfe5e4..23ba768e 100644 --- a/Tiobon.Core.Api/Tiobon.Core.xml +++ b/Tiobon.Core.Api/Tiobon.Core.xml @@ -1595,14 +1595,14 @@ - + 新增数据 - + 更新数据 diff --git a/Tiobon.Core.IServices/Ghre/IGhre_SurveyQuestionPoolServices.cs b/Tiobon.Core.IServices/Ghre/IGhre_SurveyQuestionPoolServices.cs index 033b385f..ea5d885b 100644 --- a/Tiobon.Core.IServices/Ghre/IGhre_SurveyQuestionPoolServices.cs +++ b/Tiobon.Core.IServices/Ghre/IGhre_SurveyQuestionPoolServices.cs @@ -8,9 +8,9 @@ namespace Tiobon.Core.IServices; /// public interface IGhre_SurveyQuestionPoolServices : IBaseServices { - Task UpdateFrom(long Id, InsertGhre_SurveyQuestionExtend editModel); + Task UpdateFrom(long Id, FromGhre_SurveyQuestionPoolPageData editModel); - Task InsertFrom(InsertGhre_SurveyQuestionExtend insertModel); + Task InsertFrom(FromGhre_SurveyQuestionPoolPageData insertModel); Task> QueryFrom(long Id); } \ No newline at end of file diff --git a/Tiobon.Core.Services/Ghre/Ghre_SurveyQuestionPoolServices.cs b/Tiobon.Core.Services/Ghre/Ghre_SurveyQuestionPoolServices.cs index 90bc60f3..9dddccff 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_SurveyQuestionPoolServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_SurveyQuestionPoolServices.cs @@ -1,8 +1,4 @@ -using Newtonsoft.Json; -using System.Net; -using Tiobon.Core.IServices; - -namespace Tiobon.Core.Services; +namespace Tiobon.Core.Services; /// /// 问卷题库 (服务)