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

Cud statement #197

Merged
merged 22 commits into from
Apr 13, 2022
Merged

Cud statement #197

merged 22 commits into from
Apr 13, 2022

Conversation

gmij
Copy link
Contributor

@gmij gmij commented Apr 13, 2022

merge commited.

@Ahoo-Wang Ahoo-Wang merged commit 0ecda5c into dotnetcore:cud-statement Apr 13, 2022
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 <gmij@qq.com>
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