Uat_Study
he 2022-12-28 15:38:23 +08:00
parent 9b2cdee052
commit d86988cb8f
2 changed files with 6 additions and 1 deletions

View File

@ -704,7 +704,7 @@ namespace IRaCIS.Core.Application.Service
return null;
}
var list = await (from u in _frontAuditConfigRepository.Where(x => identificationList.Contains(x.Identification))
join p in _frontAuditConfigRepository.Where(x => x.Code != "AuditState" && x.DictionaryCode != "AuditState" && x.EnumType == "Dictionary" && x.IsEnable) on u.Id equals p.ParentId
join p in _frontAuditConfigRepository.Where(x => x.DictionaryCode!=null &&x.DictionaryCode!=string.Empty && x.EnumType == "Dictionary" && x.IsEnable) on u.Id equals p.ParentId
select new
{
Key = p.Code,

View File

@ -197,3 +197,8 @@ update ReadingClinicalData set ReadingClinicalDataState=3 where IsSign=1 and R
--------- ReadingMedicineQuestionAnswerVisitTaskId
update ReadingMedicineQuestionAnswer set ReadingMedicineQuestionAnswer.VisitTaskId=TaskMedicalReview.VisitTaskId from TaskMedicalReview
inner join ReadingMedicineQuestionAnswer on ReadingMedicineQuestionAnswer.TaskMedicalReviewId=TaskMedicalReview.id
update frontAuditConfig set DictionaryCode ='' where Code='AuditState' and DictionaryCode='AuditState'