fix: fix typo in project (#1554)

* fix:fix some typos in project

* fix:fix some typos in project
This commit is contained in:
Shuxin Pan
2025-12-20 02:44:58 +08:00
committed by GitHub
parent a6b6b9423a
commit 312ac2ce66
8 changed files with 10 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ public enum AiSqlSourceEnum implements BaseEnum<String> {
CLAUDEAI("CLAUDE AI"),
/**
* WNEXIN AI
* WENXIN AI
*/
WENXINAI("WENXIN AI"),

View File

@@ -26,7 +26,7 @@ import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@Slf4j
public class SqlTeset extends BaseTest {
public class SqlTest extends BaseTest {
@Resource
private TableService tableService;

View File

@@ -58,7 +58,7 @@ public class UserTeamAdminController {
* @version 2.1.0
*/
@PostMapping("/batch_create")
public ActionResult bacthCreate(@Valid @RequestBody UserTeamBatchCreateRequest request) {
public ActionResult batchCreate(@Valid @RequestBody UserTeamBatchCreateRequest request) {
request.getTeamIdList()
.forEach(teamId -> {
TeamUserPageQueryParam teamUserPageQueryParam = new TeamUserPageQueryParam();

View File

@@ -8,13 +8,13 @@ package ai.chat2db.server.web.api.controller.data.source.request;
public interface DataSourceBaseRequestInfo {
/**
* Get datasoure id
* Get datasource id
* @return
*/
Long getDataSourceId();
/**
* get datasoure name
* get datasource name
* @return
*/
String getDatabaseName();

View File

@@ -12,7 +12,7 @@ import lombok.experimental.SuperBuilder;
/**
* @author jipengfei
* @version : UserQueyRequest.java
* @version : UserQueryRequest.java
*/
@Data
@SuperBuilder

View File

@@ -13,7 +13,7 @@ public interface ValueProcessor {
* <br>
* Input oracle DATE : '2024-05-29 11:35:20.0'
* <br>
* Output for Oracle DATE: TO_DATE('2024-05-29 14:25:00', 'SYYYY-MM-DD HH24:MI:SS')
* Output for Oracle DATE: TO_DATE('2024-05-29 14:25:00', 'YYYY-MM-DD HH24:MI:SS')
*/
String getSqlValueString(SQLDataValue dataValue);

View File

@@ -63,7 +63,7 @@ public class ConnectionPool {
Connection connection = connectInfo.getConnection();
try {
if (connection != null && !connection.isClosed()) {
log.info("get connection from loacl");
log.info("get connection from local");
return connection;
}
String key = connectInfo.getKey();
@@ -72,7 +72,7 @@ public class ConnectionPool {
synchronized (lock) {
connection = connectInfo.getConnection();
if (connection != null && !connection.isClosed()) {
log.info("get connection from loacl");
log.info("get connection from local");
return connection;
}

View File

@@ -563,7 +563,7 @@ public class SqlSplitter {
int posShift = 0;
/**
* <pre>
* `subPLStack` in this function must not be empty because this fuction must be called when state in PL_STMT
* `subPLStack` in this function must not be empty because this function must be called when state in PL_STMT
* `subPLStack` must have been pushed at least once before enter PL_STMT
* </pre>
*/