Skip to content

Commit

Permalink
ng update @angular/material
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Oct 26, 2023
1 parent 2cda4d3 commit 2cf2125
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1,090 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class UsersService extends AbstractDatabase {
public Flux<User> search(UserRequest request, Pageable pageable) {
String cacheKey = ContextUtils.cacheKey(request, pageable);
ParamSql paramSql = QueryJson.queryJson(request.getQuery());
String query = "select * from se_users " + paramSql.whereSql() + CriteriaUtils.applyPage(pageable);
String query = "select * from se_users" + paramSql.whereSql() + CriteriaUtils.applyPage(pageable);
return super.queryWithCache(cacheKey, query, paramSql.params(), User.class)
.flatMapSequential(ContextUtils::userAuditorSerializable);
}
Expand All @@ -40,7 +40,7 @@ public Mono<Page<User>> page(UserRequest request, Pageable pageable) {

String cacheKey = ContextUtils.cacheKey(request);
ParamSql paramSql = QueryJson.queryJson(request.getQuery());
String query = "select count(*) from se_users " + paramSql.whereSql();
String query = "select count(*) from se_users" + paramSql.whereSql();
var countMono = super.countWithCache(cacheKey, query, paramSql.params());

return Mono.zip(searchMono, countMono)
Expand Down
10 changes: 9 additions & 1 deletion ui/web/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,17 @@
"bundleName": "material-module"
},
{
"input": "src/zorro-antd-theme.less",
"input": "node_modules/bootstrap/dist/css/bootstrap.css",
"bundleName": "bootstrap-module"
},
{
"input": "node_modules/ng-zorro-antd/ng-zorro-antd.css",
"bundleName": "ng-zorro-antd-module"
},
{
"input": "node_modules/layui/dist/css/layui.css",
"bundleName": "layui-module"
},
"src/styles.scss"
],
"scripts": [
Expand Down
9 changes: 0 additions & 9 deletions ui/web/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// Include any default variable overrides here (though functions won't be available)
@import "../node_modules/bootstrap/scss/bootstrap";
// Then add additional custom code here
@import "../node_modules/layui/dist/css/layui.css";

// Default variable overrides
$primary: #0074d9;
$danger: #ff4136;

/*this set custom own styles css.*/
html, body {
height: 100%;
Expand Down
Loading

0 comments on commit 2cf2125

Please sign in to comment.