mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-02 02:43:59 +08:00
优化test
This commit is contained in:
@@ -87,6 +87,7 @@ public class TestCrud extends AbstractTransactionalJUnit4SpringContextTests {
|
||||
testDao.count(query);
|
||||
UpdateParamEntity.newUpdate()
|
||||
.set("name","测试")
|
||||
.set(entity::getDataType)
|
||||
.where("id",entity.getId())
|
||||
.exec(testDao::update);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user