{"hidden":false,"children":[{"configs":{"serverScript":"var data = app.get();\nif (data.oldName != data.KEY_NAME) {\n  app.run('select 1 from WB_KEY where KEY_NAME={?KEY_NAME?}', {\n    errorText: '键名 \u201c' + data.KEY_NAME + '\u201d 已经存在。'\n  });\n}\napp.run('update WB_KEY set KEY_NAME={?KEY_NAME?} where KEY_NAME={?oldName?}', {\n  transaction: 'start' //事务用于保证缓存更新的同步\n});\nvar buffer = com.wb.common.KVBuffer.buffer,\n  item = buffer.get(data.oldName);\nif (item) {\n  buffer.remove(data.oldName);\n  buffer.put(data.KEY_NAME, item);\n}","itemId":"module"},"expanded":true,"children":[],"type":"module"}],"roles":{},"title":"修改","iconCls":"","inframe":false,"pageLink":""}