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; /// /// 问卷题库 (服务)