From 481d8165f26fc7e37f0e87f6444ac0340bb563a3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期二, 03 十一月 2026 18:53:22 +0800
Subject: [PATCH] fix: 移植长辉已验证的四类接口 500/体验问题(不含物料颜色字段)
---
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
index 1f6013e..19031da 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
@@ -57,7 +57,6 @@
@GetMapping("/get")
@Operation(summary = "鑾峰緱璁″垝鐝")
@Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
- @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
public CommonResult<MesCalPlanShiftRespVO> getPlanShift(@RequestParam("id") Long id) {
MesCalPlanShiftDO planShift = planShiftService.getPlanShift(id);
return success(BeanUtils.toBean(planShift, MesCalPlanShiftRespVO.class));
@@ -65,7 +64,6 @@
@GetMapping("/page")
@Operation(summary = "鑾峰緱璁″垝鐝鍒嗛〉")
- @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
public CommonResult<PageResult<MesCalPlanShiftRespVO>> getPlanShiftPage(@Valid MesCalPlanShiftPageReqVO pageReqVO) {
PageResult<MesCalPlanShiftDO> pageResult = planShiftService.getPlanShiftPage(pageReqVO);
return success(BeanUtils.toBean(pageResult, MesCalPlanShiftRespVO.class));
@@ -74,7 +72,6 @@
@GetMapping("/list-by-plan")
@Operation(summary = "鑾峰緱鎸囧畾鎺掔彮璁″垝鐨勭彮娆″垪琛�")
@Parameter(name = "planId", description = "鎺掔彮璁″垝缂栧彿", required = true)
- @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
public CommonResult<List<MesCalPlanShiftRespVO>> getPlanShiftListByPlan(@RequestParam("planId") Long planId) {
List<MesCalPlanShiftDO> list = planShiftService.getPlanShiftListByPlanId(planId);
return success(BeanUtils.toBean(list, MesCalPlanShiftRespVO.class));
--
Gitblit v1.9.3