package com.ruoyi.productionPlan.controller; import com.ruoyi.framework.aspectj.lang.annotation.Log; import com.ruoyi.framework.web.domain.AjaxResult; import com.ruoyi.productionPlan.pojo.ProductOrderPlan; import com.ruoyi.productionPlan.service.ProductOrderPlanService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** *

* 前端控制器 *

* * @author 芯导软件(江苏)有限公司 * @since 2026-03-11 03:02:58 */ @RestController @RequestMapping("/track") @Api(tags = "追踪进度") public class TrackController { @Autowired private ProductOrderPlanService productOrderPlanService; @GetMapping("/trackProgressByNo") @ApiOperation("根据主生产计划查询进度") public AjaxResult trackProgressByNo(Long productionPlanId) { return AjaxResult.success(productOrderPlanService.trackProgressByNo(productionPlanId)); } }