This commit is contained in:
he
2025-06-10 09:13:48 +08:00
parent 5a83bf9221
commit 04aa2c79f6
3 changed files with 7 additions and 7 deletions
@@ -8,7 +8,6 @@ using IRaCIS.Application.Contracts;
using IRaCIS.Core.Application.Interfaces;
using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Models;
using IRaCIS.Core.Domain.Share;
using IRaCIS.Core.Infra.EFCore.Common;
using MassTransit;
using Microsoft.AspNetCore.Mvc;
@@ -16,8 +15,6 @@ using Microsoft.Data.SqlClient;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Npgsql;
using NPOI.POIFS.Properties;
using NPOI.SS.Formula.Functions;
namespace IRaCIS.Core.Application.Service
{
@@ -1198,7 +1195,7 @@ namespace IRaCIS.Core.Application.Service
/// <param name="trialId"></param>
/// <returns></returns>
[HttpGet]
public async Task<List<string>> GetModuleTypeDescriptionList(Guid moduleTypeId,Guid trialId)
public async Task<object> GetModuleTypeDescriptionLiset(Guid moduleTypeId,Guid trialId)
{
@@ -1208,10 +1205,11 @@ namespace IRaCIS.Core.Application.Service
select new
{
IsShow= lefttrialshow==null? data.IsDefaultChoice : lefttrialshow.IsShow,
Description= _userInfo.IsEn_Us ? data.Description : data.DescriptionCN
FrontAuditConfigId = data.Id,
Description = _userInfo.IsEn_Us ? data.Description : data.DescriptionCN
};
return result.Where(x=>x.IsShow).Select(x=>x.Description).Distinct().ToList();
return result.Where(x=>x.IsShow).Distinct().ToList();
}
/// <summary>