修改
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user