diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index 9d126c4ee..890281c18 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -500,7 +500,7 @@ namespace IRaCIS.Core.Application [HttpGet("{signCode}")] public async Task GetSignText(string signCode) { - var signRawText = await _repository.Where(t => t.Code == signCode).Select(t => new { t.Code, t.Value, t.Id, ParentValue = t.Parent.Value, ParentValueCN = t.Parent.ValueCN }).FirstOrDefaultAsync(); + var signRawText = await _repository.Where(t => t.Code == signCode).Select(t => new { t.Code, t.Value, t.ValueCN, t.Id, ParentValue = t.Parent.Value, ParentValueCN = t.Parent.ValueCN }).FirstOrDefaultAsync(); if (signRawText == null) { @@ -511,8 +511,8 @@ namespace IRaCIS.Core.Application { SignCodeId = signRawText.Id, SignCode = signRawText.Code, - SignText = signRawText.ParentValue.Replace("xxx", signRawText.Value), - SignTextCN = signRawText.ParentValueCN.Replace("xxx", signRawText.Value) + SignText = _userInfo.IsEn_Us? signRawText.ParentValue.Replace("xxx", signRawText.Value) : signRawText.ParentValueCN.Replace("xxx", signRawText.ValueCN), + //SignTextCN = signRawText.ParentValueCN.Replace("xxx", signRawText.Value) }); }