稽查排序修改,需要迁移
							parent
							
								
									3a52021cdc
								
							
						
					
					
						commit
						56fb9c14d1
					
				| 
						 | 
					@ -1078,7 +1078,8 @@ namespace IRaCIS.Core.Application.Service
 | 
				
			||||||
        [HttpGet]
 | 
					        [HttpGet]
 | 
				
			||||||
        public async Task<List<string>> GetModuleTypeDescriptionList(Guid moduleTypeId)
 | 
					        public async Task<List<string>> GetModuleTypeDescriptionList(Guid moduleTypeId)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var result = await _frontAuditConfigRepository.Where(x => x.ModuleTypeId == moduleTypeId && x.ObjectTypeId != null && x.OptTypeId != null && x.Description.Length > 0).Select(x => new { x.Description, x.DescriptionCN, x.Sort }).OrderBy(t => t.Sort).Select(t =>  _userInfo.IsEn_Us? t.Description:t.DescriptionCN).Distinct().ToListAsync();
 | 
					            var result =( await _frontAuditConfigRepository.Where(x => x.ModuleTypeId == moduleTypeId && x.ObjectTypeId != null && x.OptTypeId != null && x.Description.Length > 0).Select(x => new { x.Description, x.DescriptionCN, x.Sort }).OrderBy(t => t.Sort).ToListAsync()
 | 
				
			||||||
 | 
					                ).Select(t =>  _userInfo.IsEn_Us? t.Description:t.DescriptionCN).Distinct().ToList();
 | 
				
			||||||
            return result;
 | 
					            return result;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue