Commit 2fe5462368b8146a2395746c1a3ae0cfa24f5e41
1 parent
f75f624f
♻️ refactor(mes): 移除无用的到货通知单相关接口和组件
Showing
2 changed files
with
0 additions
and
19 deletions
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/arrivalnotice/MesWmArrivalNoticeController.java
| ... | ... | @@ -112,15 +112,6 @@ public class MesWmArrivalNoticeController { |
| 112 | 112 | return success(true); |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | - @GetMapping("/simple-list") | |
| 116 | - @Operation(summary = "获得到货通知单精简列表") | |
| 117 | - @Parameter(name = "status", description = "状态", example = "2") | |
| 118 | - public CommonResult<List<MesWmArrivalNoticeRespVO>> getArrivalNoticeSimpleList( | |
| 119 | - @RequestParam(value = "status", required = false) Integer status) { | |
| 120 | - List<MesWmArrivalNoticeDO> list = arrivalNoticeService.getArrivalNoticeListByStatus(status); | |
| 121 | - return success(buildRespVOList(list)); | |
| 122 | - } | |
| 123 | - | |
| 124 | 115 | // ==================== 拼接 VO ==================== |
| 125 | 116 | |
| 126 | 117 | private List<MesWmArrivalNoticeRespVO> buildRespVOList(List<MesWmArrivalNoticeDO> list) { | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/arrivalnotice/MesWmArrivalNoticeLineController.java
| ... | ... | @@ -95,16 +95,6 @@ public class MesWmArrivalNoticeLineController { |
| 95 | 95 | return success(new PageResult<>(buildRespVOList(pageResult.getList()), pageResult.getTotal())); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | - @GetMapping("/list-by-notice-id") | |
| 99 | - @Operation(summary = "获得到货通知单行列表") | |
| 100 | - @Parameter(name = "noticeId", description = "到货通知单编号", required = true, example = "1024") | |
| 101 | - @PreAuthorize("@ss.hasPermission('mes:wm-arrival-notice:query')") | |
| 102 | - public CommonResult<List<MesWmArrivalNoticeLineRespVO>> getArrivalNoticeLineListByNoticeId( | |
| 103 | - @RequestParam("noticeId") Long noticeId) { | |
| 104 | - List<MesWmArrivalNoticeLineDO> list = arrivalNoticeLineService.getArrivalNoticeLineListByNoticeId(noticeId); | |
| 105 | - return success(buildRespVOList(list)); | |
| 106 | - } | |
| 107 | - | |
| 108 | 98 | // ==================== 拼接 VO ==================== |
| 109 | 99 | |
| 110 | 100 | private List<MesWmArrivalNoticeLineRespVO> buildRespVOList(List<MesWmArrivalNoticeLineDO> list) { | ... | ... |