{"hidden":false,"children":[{"configs":{"itemId":"module","serverScript":"//a.EMPLOYEE_CODE={?EMPLOYEE_CODE?}\n\nvar sql=' ', data = app.get();\nif(!Wb.isEmpty(data.EMPLOYEE_CODE)){\n  sql += \"and a.EMPLOYEE_CODE={?EMPLOYEE_CODE?}\";\n}\n\nrequest.setAttribute('sql', sql);"},"expanded":true,"children":[{"configs":{"itemId":"searchText","string":"%{#searchCombo#}%"},"expanded":false,"children":[],"type":"string"},{"configs":{"itemId":"dataprovider1","sql":"select a.*,b.COMPANY_NAME from WB_EMPLOYEE a left join WB_COMPANY b\non a.COMPANY_ID=b.COMPANY_ID\nwhere (DEPT_ID={?DEPT_ID?} or ({?searchCombo?} is not null and REAL_NAME like {?searchText?})) {#sql#} {#sql.orderBy#}"},"expanded":false,"children":[],"type":"dataprovider"}],"type":"module"}],"roles":{"demo":1},"title":"查询","iconCls":"","inframe":false,"pageLink":""}