| | |
| | | import org.springblade.mdm.flow.vo.ApproveTableInfo; |
| | | import org.springblade.mdm.flow.vo.FlowVO; |
| | | import org.springblade.mdm.program.entity.NcNode; |
| | | import org.springblade.mdm.program.entity.NcNodeHis; |
| | | import org.springblade.mdm.program.service.NcNodeHisService; |
| | | import org.springblade.mdm.program.service.NcNodeService; |
| | | import org.springblade.mdm.statreport.utils.WordReplaceUtil; |
| | | import org.springblade.system.feign.IDictBizClient; |
| | |
| | | @Service |
| | | @AllArgsConstructor |
| | | public class ConfirmTablePrintService { |
| | | private final RuntimeService runtimeService; |
| | | |
| | | private final IDictBizClient dictBizClient; |
| | | private final HistoryService historyService; |
| | | private final FlowProgramFileService flowProgramFileService; |
| | | private ApproveInfoQueryService approveInfoQueryService; |
| | | private final MachineService machineService; |
| | | private final NcNodeService nodeService; |
| | | private final NcNodeHisService nodeHisService; |
| | | private final ParamService paramService; |
| | | private final TaskDispatchService taskDispatchService; |
| | | private final OssTemplate ossTemplate; |
| | |
| | | machine = machineService.getByCode(machineCode); |
| | | |
| | | Map<String, String> dataMap = new HashMap<>(); |
| | | NcNode node = this.nodeService.getById(props.getNodeId()); |
| | | //NcNode node = this.nodeService.getById(props.getNodeId()); |
| | | NcNodeHis node = nodeHisService.getById(props.getNodeId()); |
| | | TaskDispatch dispatch = taskDispatchService.getByProgramNo(node.getProgramNo()); |
| | | |
| | | if(dispatch == null){ |