perf: 优化查询写法

优化查询时使用LambdaQueryWrapper查询
部分注释补全,格式化
This commit is contained in:
胡少翔
2024-07-31 10:06:29 +08:00
parent dbf9cca78f
commit cee4651e12
6 changed files with 19 additions and 26 deletions

View File

@@ -7,6 +7,7 @@ package com.youlai.system.common.constant;
* @since 2024-7-29 11:46:08
*/
public interface SymbolConstant {
/**
* 符号:点
*/
@@ -28,7 +29,7 @@ public interface SymbolConstant {
String COMMA = ",";
/**
* 符号:左花括号 }
* 符号:左花括号 {
*/
String LEFT_CURLY_BRACKET = "{";

View File

@@ -13,7 +13,6 @@ public interface SystemConstants {
*/
Long ROOT_NODE_ID = 0L;
/**
* 系统默认密码
*/
@@ -24,14 +23,4 @@ public interface SystemConstants {
*/
String ROOT_ROLE_CODE = "ROOT";
/**
* 未删除状态
*/
Integer NOT_DELETED_STATUS = 0;
/**
* 删除状态
*/
Integer DELETED_STATUS = 1;
}