mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2026-03-13 09:02:05 +08:00
fix: fix typo in project (#1554)
* fix:fix some typos in project * fix:fix some typos in project
This commit is contained in:
@@ -38,7 +38,7 @@ public enum AiSqlSourceEnum implements BaseEnum<String> {
|
||||
CLAUDEAI("CLAUDE AI"),
|
||||
|
||||
/**
|
||||
* WNEXIN AI
|
||||
* WENXIN AI
|
||||
*/
|
||||
WENXINAI("WENXIN AI"),
|
||||
|
||||
|
||||
@@ -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;
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -12,7 +12,7 @@ import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* @author jipengfei
|
||||
* @version : UserQueyRequest.java
|
||||
* @version : UserQueryRequest.java
|
||||
*/
|
||||
@Data
|
||||
@SuperBuilder
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user