|
|
@@ -1,4 +1,4 @@
|
|
|
-namespace Admin.NET.Core.Service;
|
|
|
+namespace Admin.NET.Core.Service;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 系统字典值服务
|
|
|
@@ -27,7 +27,7 @@ public class SysDictDataService : IDynamicApiController, ITransient
|
|
|
return await _sysDictDataRep.AsQueryable()
|
|
|
.Where(u => u.DictTypeId == input.DictTypeId)
|
|
|
.WhereIF(code, u => u.Code.Contains(input.Code))
|
|
|
- .WhereIF(value, u => u.Code.Contains(input.Value))
|
|
|
+ .WhereIF(value, u => u.Value.Contains(input.Value))
|
|
|
.OrderBy(u => u.OrderNo)
|
|
|
.ToPagedListAsync(input.Page, input.PageSize);
|
|
|
}
|