修改排序
This commit is contained in:
parent
1e26d75369
commit
53c989368f
2
admin-client/dist/index.html
vendored
2
admin-client/dist/index.html
vendored
|
|
@ -7,7 +7,7 @@
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>寰梦后台管理</title>
|
<title>寰梦后台管理</title>
|
||||||
<script type="module" crossorigin src="/static/js/index-Cw_NB0vp.js"></script>
|
<script type="module" crossorigin src="/static/js/index-DZ3SCI4I.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/static/css/index-CzwB8sLn.css">
|
<link rel="stylesheet" crossorigin href="/static/css/index-CzwB8sLn.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,7 @@ public class T_ProductsService : ApplicationService<IRepository<T_Products>>
|
||||||
//道具类型
|
//道具类型
|
||||||
.WhereIf(pagingSearchInput.Search?.ProductType != null && pagingSearchInput.Search?.ProductType > 0,
|
.WhereIf(pagingSearchInput.Search?.ProductType != null && pagingSearchInput.Search?.ProductType > 0,
|
||||||
w => w.ProductType == pagingSearchInput.Search.ProductType)
|
w => w.ProductType == pagingSearchInput.Search.ProductType)
|
||||||
|
.OrderBy(it=>it.ProductType).ThenBy(it=>it.OrderById)
|
||||||
|
|
||||||
.OrderBy(w => w.OrderById)
|
|
||||||
.Select(w => new
|
.Select(w => new
|
||||||
{
|
{
|
||||||
w.Id,
|
w.Id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user