且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将列表转换为UpdatableRecord?

更新时间:2023-02-14 12:15:40

您确定 FolderProcessChecklistRecord UpdatableRecord 吗?否则,您无法将其传递给 batchDelete()方法

Are you sure that your FolderProcessChecklistRecord is an UpdatableRecord? Otherwise, you couldn't pass it to either batchDelete() method

重载 DSLContext.batchDelete()方法:

  • batchDelete(UpdatableRecord...)
  • batchDelete(Collection<? extends UpdatableRecord<?>>)

其他问题(您的同事?) ,我怀疑您的自定义 Transaction 类型可能无法正确实现 DSLContext

From other questions (by your coworkers?), I suspect that your custom Transaction type might not correctly implement DSLContext.