{"hidden":false,"children":[{"configs":{"serverScript":"var recs = Wb.decode(request.getParameter('create'));\nWb.each(recs, function(rec) {\n  rec.EMPLOYEE_ID = SysUtil.getId();\n});\nrequest.setAttribute('create', Wb.encode(recs));\napp.update({\n  tableName: 'WB_EMPLOYEE'\n});\n//app.update可以使用参数whereFields:'EMPLOYEE_ID' 强制指定where部分SQL仅使用EMPLOYEE_ID一个字段\napp.send(recs);","itemId":"module"},"expanded":true,"children":[],"type":"module"}],"roles":{},"title":"保存","iconCls":"","inframe":false,"pageLink":""}