云
14 小时以前 fec1341c1cb8e11cfbe3fa7dfabe447edb72b630
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/iqc/MesQcIqcLineController.java
@@ -48,7 +48,6 @@
    @GetMapping("/get")
    @Operation(summary = "获得来料检验单行")
    @Parameter(name = "id", description = "编号", required = true, example = "1024")
    @PreAuthorize("@ss.hasPermission('mes:qc-iqc:query')")
    public CommonResult<MesQcIqcLineRespVO> getIqcLine(@RequestParam("id") Long id) {
        MesQcIqcLineDO line = iqcLineService.getIqcLine(id);
        return success(buildLineRespVOList(Collections.singletonList(line)).get(0));
@@ -56,7 +55,6 @@
    @GetMapping("/page")
    @Operation(summary = "获得来料检验单行分页")
    @PreAuthorize("@ss.hasPermission('mes:qc-iqc:query')")
    public CommonResult<PageResult<MesQcIqcLineRespVO>> getIqcLinePage(@Valid MesQcIqcLinePageReqVO pageReqVO) {
        PageResult<MesQcIqcLineDO> pageResult = iqcLineService.getIqcLinePage(pageReqVO);
        return success(new PageResult<>(buildLineRespVOList(pageResult.getList()), pageResult.getTotal()));