zhoushihao
2025-03-15 5a7683e98e626cba3b52fd621b4d5340e16b6f2a
hangzhoumesParent/common/servicebase/src/main/java/com/mes/pp/controller/FlowCardController.java
@@ -1,9 +1,19 @@
package com.mes.pp.controller;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mes.pp.service.FlowCardService;
import com.mes.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
 * <p>
@@ -13,9 +23,19 @@
 * @author wu
 * @since 2024-08-07
 */
@Api(tags = "流程卡")
@RestController
@RequestMapping("/flow_card/flow-card")
@RequestMapping("/flow_card")
public class FlowCardController {
    @Resource
    FlowCardService flowCardService;
    @ApiOperation("根据订单id查询流程卡进度")
    @PostMapping("/flowCardReportForms")
    public Result flowCardReportForms(String orderId) {
        return Result.build(200, "查询成功", flowCardService.flowCardReportForms(orderId));
    }
}