chenlu
2024-02-22 45c2ca7404c451b5dc150e3ee564d78dce1d73fb
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
@@ -45,8 +45,8 @@
    public Result DetailsSelect(
            @PathVariable String orderId,
            @RequestBody FlowCard  flowCard){
        return Result.seccess(flowCardService.DetailsSelectSv(orderId,flowCard));
            @RequestBody OrderDetail  orderDetail){
        return Result.seccess(flowCardService.DetailsSelectSv(orderId,orderDetail));
    }
@@ -65,14 +65,28 @@
        }
    }
    //分架明细查询
    //修改排版状态
    @PostMapping("/updateLayoutStatus/{processId}")
    public Result updateLayoutStatus(
            @PathVariable String processId
    ){
        System.out.println(flowCardService.UpdateLayoutStatusSv(processId));
        if(flowCardService.UpdateLayoutStatusSv(processId)){
            return Result.seccess();
        }else {
            throw new ServiceException(Constants.Code_500,"修改失败");
        }
    }
    //分架新增明细查询
    @PostMapping  ("/selectNoCard/{orderId}/{productionId}")
    public Result SelectNoCard(
            @PathVariable String orderId,
            @PathVariable String productionId,
            @RequestBody FlowCard  flowCard){
        return Result.seccess(flowCardService.SelectNoCardSv(orderId,productionId,flowCard));
            @RequestBody OrderDetail orderDetail){
        return Result.seccess(flowCardService.SelectNoCardSv(orderId,productionId,orderDetail));
    }