dao.execute("update语句")是否可以返回更新了多少条数
Sql sql = Sqls.create("update table set masterid =@masterid where user =@user and masterid is null ");
sql.setParam("masterid", ev.getId());
sql.setParam("user", userid);
dao.execute(sql);
dao.execute("update语句")是否可以返回更新了多少条数
Sql sql = Sqls.create("update table set masterid =@masterid where user =@user and masterid is null ");
sql.setParam("masterid", ev.getId());
sql.setParam("user", userid);
dao.execute(sql);