| | |
| | | import com.aps.common.security.annotation.RequiresPermissions; |
| | | import com.aps.job.domain.ApsWorkOrderJobLog; |
| | | import com.aps.job.service.IApsWorkOrderJobLogService; |
| | | import com.aps.job.service.IApsWorkOrderProcessService; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public class ApsWorkOrderJobLogController extends BaseController { |
| | | @Autowired |
| | | private IApsWorkOrderJobLogService apsWorkOrderJobLogService; |
| | | |
| | | @Autowired |
| | | private IApsWorkOrderProcessService iApsWorkOrderProcessService; |
| | | |
| | | /** |
| | | * 查询工单同步日志列表 |
| | |
| | | return toAjax(true); |
| | | } |
| | | |
| | | @RequiresPermissions("apsWorkOrderJobLog:edit") |
| | | @Log(title = "工单工序同步日志", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/syncProcessByLog") |
| | | public AjaxResult retryRequestWorkOrderProcessByLogId(@RequestBody ApsWorkOrderJobLog apsWorkOrderJobLog) { |
| | | return toAjax(iApsWorkOrderProcessService.retryRequestWorkOrderProcessByLogId(apsWorkOrderJobLog.getId())); |
| | | } |
| | | |
| | | } |