-
Notifications
You must be signed in to change notification settings - Fork 222
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
Cud statement #197
Merged
Merged
Cud statement #197
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
added. 添加的CUD默认Statement.SqlId,用于FlushOnExecutes
2. 添加CUDCacheAttribute,把默认的CUD操作设置为刷新缓存。
Ahoo-Wang
added a commit
that referenced
this pull request
Apr 29, 2022
* add TODO CUDConfigBuilder * support CUDConfigBuilder for SmartSqlBuilder * add. CUD statement build (#162) * fixed. 修复CUD模块中自动生成的SQL语句,在Oracle下提示ORA-00933命令未正确结束的错误。原因是SQL语句结束处,加了分号。 * fixed. 当使用CUD模块,没有xml配置项时,会导致缓存无法开启。移除对SqlMaps的缓存配置项检查。 * 移除注释的代码。 * 动态插入时,自动生成Statement配置信息。 * fixed. CUD,在执行时,把Statement加入到内存中,已能和缓存产生完整交互。 added. 添加的CUD默认Statement.SqlId,用于FlushOnExecutes * 1. 优化CUDStatement的默认名称的引用 2. 添加CUDCacheAttribute,把默认的CUD操作设置为刷新缓存。 * 优化Statement的使用。 * add. CUD statement build * commit unit test * 优化sql生成过程 * 完善insert和update的语法构成方式。 * fix. insert and update CUD invalid. * 移除过期的代码。 * add. DyRepository缓存加载 * add `ScopeAttribute` * skip RedisCache unit test * enhance `EnvironmentFactAttribute` * Cud statement (#197) * fixed. CUD模块和动态仓储模块同时启用时,动态仓储上设置同名Statement时,缓存不生效。 * Cud statement (#201) * 完善测试需求 * fix unit-test (CI) * refactor code style * update integration-test.yml (CI) * fix EntityDeserializer missing SetupSmartSql * refactor SmartSqlBuilder * refactor Bulk unit-test * refactor unit test * UnitTest Fixed. (#202) * fixed. 修复CUD模块中自动生成的SQL语句,在Oracle下提示ORA-00933命令未正确结束的错误。原因是SQL语句结束处,加了分号。 * fixed. 当使用CUD模块,没有xml配置项时,会导致缓存无法开启。移除对SqlMaps的缓存配置项检查。 * 移除注释的代码。 * 动态插入时,自动生成Statement配置信息。 * fixed. CUD,在执行时,把Statement加入到内存中,已能和缓存产生完整交互。 added. 添加的CUD默认Statement.SqlId,用于FlushOnExecutes * 1. 优化CUDStatement的默认名称的引用 2. 添加CUDCacheAttribute,把默认的CUD操作设置为刷新缓存。 * 优化Statement的使用。 * add. CUD statement build * commit unit test * 优化sql生成过程 * 完善insert和update的语法构成方式。 * fix. insert and update CUD invalid. * 移除过期的代码。 * add. DyRepository缓存加载 * fixed. CUD模块和动态仓储模块同时启用时,动态仓储上设置同名Statement时,缓存不生效。 * fix. 调通部分单元测试。修改数据库初始化脚本及部分测试模型 * 优化sql in语法的匹配表达式 * fixed. 完善DeleteMany的代码。并通过单元测试 * 完善单元测试用例 * 完善单元测试 * 完善单元测试 * 完善测试需求 * 完善单元测试 * fixed. InsertReturnId and DeleteMany statement Build method errors. * fixed. test unit bugs. * 变更数据源。 * refactor CUDConfigBuilderTest.cs * refactor code style Co-authored-by: gmij <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
merge commited.