Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix:参数填充 #241

Merged
merged 3 commits into from
Apr 22, 2023
Merged

bugfix:参数填充 #241

merged 3 commits into from
Apr 22, 2023

Conversation

alvinkwok1
Copy link
Contributor

  1. 修复了insert语句插入null值,没有类型的这种情况无法做参数填充
  2. 修复了简单SQL无法输入的转换的问题。 因为添加了参数分离功能,原功能(分别复制一个SQL和参数进去)失效

测试数据:
问题1:
---------com.xxx :Preparing: insert into xxx (id,xx) values(?,?)
--Parameters: String(String), null

问题2:
SQL:
SELECT * FROM xxx where x=?
参数:
String(String)

guop added 3 commits April 22, 2023 10:43
1. 修复了insert语句插入null值,没有类型的这种情况无法做参数填充
2. 修复了简单SQL无法输入的转换的问题

测试数据:
---------com.xxx :Preparing: insert into xxx (id,xx) values(?,?)
--Parameters: String(String), null
# Conflicts:
#	packages/ctool-core/src/tools/sqlFillParameter/SqlFillParameter.vue
1. 修复了insert语句插入null值,没有类型的这种情况无法做参数填充
2. 修复了简单SQL无法输入的转换的问题

测试数据:
---------com.xxx :Preparing: insert into xxx (id,xx) values(?,?)
--Parameters: String(String), null
@baiy baiy merged commit 0fd5e47 into baiy:master Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants