| | |
| | | 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> |
| | |
| | | * @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)); |
| | | } |
| | | |
| | | } |
| | | |