| | |
| | | import org.apache.neethi.AssertionBuilderFactory; |
| | | import org.apache.ws.commons.schema.XmlSchemaSerializer; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.SpringUtil; |
| | | import org.springblade.mdm.basesetting.machine.entity.Machine; |
| | | import org.springblade.mdm.commons.service.InternalEmailService; |
| | | import org.springblade.mdm.flow.excution.events.CureFinishedEvent; |
| | | import org.springblade.mdm.flow.service.MesSyncService; |
| | | import org.springblade.mdm.flow.service.WIthdrawService; |
| | | import org.springblade.mdm.machinefile.entity.MachineFile; |
| | | import org.springblade.mdm.machinefile.service.MachineFileScanService; |
| | |
| | | |
| | | @Autowired |
| | | private NcNodeService service; |
| | | |
| | | @Autowired |
| | | private MachineFileScanTask machineFileScanTask; |
| | | private MesSyncService mesSyncService; |
| | | @Autowired |
| | | private ProgramAnnotationService programAnnotationService; |
| | | @Autowired |
| | |
| | | //format:?time=2025-09-16%2010:11:10 |
| | | nodeHisService.mergeNodeToHisGeTime(time); |
| | | } |
| | | @GetMapping("/mes-sync") |
| | | public void mesSync(){ |
| | | mesSyncService.syncToMes(); |
| | | } |
| | | |
| | | @GetMapping("/publish-cure") |
| | | public void publishCure(){ |
| | | CureFinishedEvent e = new CureFinishedEvent(this,"0000000173"); |
| | | SpringUtil.publishEvent(e); |
| | | } |
| | | |
| | | } |