xiaoyi
6 天以前 883f5e73fbe7458fd760dbe8560dd5d8757e04cd
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/iqc/MesQcIqcController.java
@@ -99,7 +99,6 @@
    @GetMapping("/get")
    @Operation(summary = "获得来料检验单")
    @Parameter(name = "id", description = "编号", required = true, example = "1024")
    @PreAuthorize("@ss.hasPermission('mes:qc-iqc:query')")
    public CommonResult<MesQcIqcRespVO> getIqc(@RequestParam("id") Long id) {
        MesQcIqcDO iqc = iqcService.getIqc(id);
        return success(buildIqcRespVOList(Collections.singletonList(iqc)).get(0));
@@ -107,7 +106,6 @@
    @GetMapping("/page")
    @Operation(summary = "获得来料检验单分页")
    @PreAuthorize("@ss.hasPermission('mes:qc-iqc:query')")
    public CommonResult<PageResult<MesQcIqcRespVO>> getIqcPage(@Valid MesQcIqcPageReqVO pageReqVO) {
        PageResult<MesQcIqcDO> pageResult = iqcService.getIqcPage(pageReqVO);
        return success(new PageResult<>(buildIqcRespVOList(pageResult.getList()), pageResult.getTotal()));
@@ -178,7 +176,7 @@
                        .build()
        );
        // 输出
        ExcelUtils.write(response, "来料检验单导入模板.xls", "来料检验单列表", MesQcIqcImportExcelVO.class, list);
        ExcelUtils.writeTemplate(response, "来料检验单导入模板.xls", "来料检验单列表", MesQcIqcImportExcelVO.class, list);
    }
    @PostMapping("/import")