TaskScript taskScript = Datasources.getDao().fetch
(TaskScript.class, Cnd.where("taskId", "=", taskId).and("MAX","=","version"));
我想查询指定taskId中version最大的一条记录
TaskScript taskScript = Datasources.getDao().fetch
(TaskScript.class, Cnd.where("taskId", "=", taskId).and("MAX","=","version"));
我想查询指定taskId中version最大的一条记录