优化test

This commit is contained in:
zhou-hao
2019-04-14 17:53:02 +08:00
parent 0cf07a73d4
commit 2c7f15da14

View File

@@ -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);