zss
4 小时以前 62e9b968c6f6a624b8d633c3c9551f1c814ea6e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @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));
    }
 
}