| | |
| | | */ |
| | | public FlowProgramProperties getProgramProperties(String processInstanceId){ |
| | | FlowProgramProperties programProperties = new FlowProgramProperties(); |
| | | programProperties.setProcessInstanceId(processInstanceId); |
| | | |
| | | Map<String, Object> vars = runtimeService.getVariables(processInstanceId); |
| | | |
| | |
| | | |
| | | programProperties.setProcessNo(String.valueOf(vars.get(FlowContants.PROCESS_NO))); |
| | | programProperties.setProcessEdition(String.valueOf(vars.get(FlowContants.PROCESS_EDITION)));//工序版次 |
| | | programProperties.setProcessName(String.valueOf(vars.get(FlowContants.PROCESS_NAME))); |
| | | programProperties.setMachineCode(String.valueOf(vars.get(FlowContants.MACHINE_CODE))); |
| | | //数据处理名称为版次以前,零件号加工序号:YZL4-1100-01-50 零组件号:YZL4-1100-01 工序号 50 |
| | | |