Commit 35b28b3c2f0699226e1d888b71a2b6532eb7642f

Authored by YunaiV
1 parent 9b0657c4

feat(mes): 添加假期类型常量及相关错误码,调整SOP和SIP模块的展示顺序

yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/enums/DictTypeConstants.java
@@ -9,5 +9,6 @@ public interface DictTypeConstants { @@ -9,5 +9,6 @@ public interface DictTypeConstants {
9 9
10 String MES_CLIENT_TYPE = "mes_client_type"; // MES 客户类型 10 String MES_CLIENT_TYPE = "mes_client_type"; // MES 客户类型
11 String MES_VENDOR_LEVEL = "mes_vendor_level"; // MES 供应商级别 11 String MES_VENDOR_LEVEL = "mes_vendor_level"; // MES 供应商级别
  12 + String MES_CAL_HOLIDAY_TYPE = "mes_cal_holiday_type"; // MES 假期类型
12 13
13 } 14 }
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/enums/ErrorCodeConstants.java
@@ -90,6 +90,9 @@ public interface ErrorCodeConstants { @@ -90,6 +90,9 @@ public interface ErrorCodeConstants {
90 // ========== MES 日历排班-排班计划(1-040-202-000) ========== 90 // ========== MES 日历排班-排班计划(1-040-202-000) ==========
91 ErrorCode CAL_PLAN_NOT_EXISTS = new ErrorCode(1_040_202_000, "排班计划不存在"); 91 ErrorCode CAL_PLAN_NOT_EXISTS = new ErrorCode(1_040_202_000, "排班计划不存在");
92 92
  93 + // ========== MES 日历排班-假期设置(1-040-203-000) ==========
  94 + ErrorCode CAL_HOLIDAY_NOT_EXISTS = new ErrorCode(1_040_203_000, "假期设置不存在");
  95 +
93 // ========== MES 设备管理-设备类型(1-040-300-000) ========== 96 // ========== MES 设备管理-设备类型(1-040-300-000) ==========
94 ErrorCode DV_MACHINERY_TYPE_NOT_EXISTS = new ErrorCode(1_040_300_000, "设备类型不存在"); 97 ErrorCode DV_MACHINERY_TYPE_NOT_EXISTS = new ErrorCode(1_040_300_000, "设备类型不存在");
95 98