// === EIP4 P4 脚本迁移产出 === // template_id : d32ae8ac-2c31-4fbe-acb9-eec07e9fda82 // template_name: 员工档案 // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 import com.vaadin.server.VaadinService; import com.dsasp.client.viewframework.util.ImageUrlUtil; //def map = GetServicesFunction.executeQueryForMap("select filepath,filename from sys_doc where businesskey = '"+HR_EMPLOYEE_ID+"'"); //def searchmap = [:]; //searchmap["FILEPATH"] = map["filepath"]; //def path = ImageUrlUtil.getUrl(searchmap); //def path1 = "http://localhost:8080";//VaadinService.getCurrentRequest().getRemoteAddr(); //def path2 = VaadinService.getCurrentRequest().getRemotePort(); ///path = GetValueFunction.concat(path1,path2); //path = GetValueFunction.concat(path1,path); page.setDataFilter(["HR_EMPLOYEE_ID":HR_EMPLOYEE_ID,"COMPANY":GetDefaultValueFunction.getConfigValue("com.dsasp.server.organize.COMPANY")]);