From 2c7f15da14b8be051335b82eeac582ffcc2e68bd Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Sun, 14 Apr 2019 17:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/org/hswebframework/web/dao/crud/TestCrud.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hsweb-commons/hsweb-commons-dao/hsweb-commons-dao-mybatis/src/test/java/org/hswebframework/web/dao/crud/TestCrud.java b/hsweb-commons/hsweb-commons-dao/hsweb-commons-dao-mybatis/src/test/java/org/hswebframework/web/dao/crud/TestCrud.java index 1214ac529..42e34da91 100644 --- a/hsweb-commons/hsweb-commons-dao/hsweb-commons-dao-mybatis/src/test/java/org/hswebframework/web/dao/crud/TestCrud.java +++ b/hsweb-commons/hsweb-commons-dao/hsweb-commons-dao-mybatis/src/test/java/org/hswebframework/web/dao/crud/TestCrud.java @@ -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);