Commit 8f17d74218328306ac88c458adac3be9223ef120

Authored by YunaiV
1 parent 4c3ea6af

♻️ refactor(mes): 移除无用的质检方案精简列表接口

yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/card/vo/MesProCardPageReqVO.java
@@ -24,5 +24,4 @@ public class MesProCardPageReqVO extends PageParam { @@ -24,5 +24,4 @@ public class MesProCardPageReqVO extends PageParam {
24 @Schema(description = "批次号", example = "BATCH-001") 24 @Schema(description = "批次号", example = "BATCH-001")
25 private String batchCode; 25 private String batchCode;
26 26
27 -  
28 } 27 }
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/template/MesQcTemplateController.java
@@ -77,13 +77,6 @@ public class MesQcTemplateController { @@ -77,13 +77,6 @@ public class MesQcTemplateController {
77 return success(BeanUtils.toBean(pageResult, MesQcTemplateRespVO.class)); 77 return success(BeanUtils.toBean(pageResult, MesQcTemplateRespVO.class));
78 } 78 }
79 79
80 - @GetMapping("/simple-list")  
81 - @Operation(summary = "获得质检方案精简列表", description = "主要用于前端的下拉选项")  
82 - public CommonResult<List<MesQcTemplateRespVO>> getTemplateSimpleList() {  
83 - List<MesQcTemplateDO> list = templateService.getTemplateList();  
84 - return success(BeanUtils.toBean(list, MesQcTemplateRespVO.class));  
85 - }  
86 -  
87 @GetMapping("/export-excel") 80 @GetMapping("/export-excel")
88 @Operation(summary = "导出质检方案 Excel") 81 @Operation(summary = "导出质检方案 Excel")
89 @PreAuthorize("@ss.hasPermission('mes:qc-template:export')") 82 @PreAuthorize("@ss.hasPermission('mes:qc-template:export')")