廖井涛
2024-07-06 a63145ac1499a46cac039fc8aaba229e7156148f
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
@@ -196,10 +196,11 @@
    }
    @ApiOperation("打印自定义标签数据查询接口")
    @PostMapping("/getSelectPrintCustomLabel/{type}")
    @PostMapping("/getSelectPrintCustomLabel/{type}/{lableType}")
    public Result getSelectPrintCustomLabel( @PathVariable String type,
                                             @PathVariable Integer lableType,
                                             @RequestBody Map<String, Object> object) {
        return Result.seccess(flowCardService.getSelectPrintCustomLabelSv(type,object));
        return Result.seccess(flowCardService.getSelectPrintCustomLabelSv(type,lableType,object));
    }
@@ -251,4 +252,14 @@
            @PathVariable Date selectTime2) {
        return Result.seccess(flowCardService.selectPrintFlowCard(selectTime1, selectTime2));
    }
    @ApiOperation("修改是否打印状态")
    @PostMapping("/updatePrintState/{printState}")
    public Result updatePrintState(
            @PathVariable Integer printState,
            @RequestBody Map<String, Object> object
    ) {
        return Result.seccess(flowCardService.updatePrintStateSv(printState,object));
    }
}