{"hidden":false,"children":[{"configs":{"serverScript":"//update方法默认开始数据库事务\napp.update({\n  tableName: 'WB_DICT'\n    //不能设置mode: 'delete'，因为数据源取自参数destroy而非所有参数，见帮助文档\n});\nvar tableBuffer, recs = Wb.decode(app.get('destroy')),\n  buffer = com.wb.common.Dictionary.buffer;\nWb.each(recs, function(rec) {\n  tableBuffer = buffer.get(rec['#TABLE_NAME'].toUpperCase());\n  if (tableBuffer)\n    tableBuffer.remove(rec['#FIELD_NAME'].toUpperCase());\n});","itemId":"module"},"expanded":true,"children":[],"type":"module"}],"roles":{},"title":"删除","iconCls":"","inframe":false,"pageLink":""}