From f55ed1d2a1bdf4ad80930e879631d6d95d4b6c3c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 28 八月 2025 18:57:38 +0800 Subject: [PATCH] RCS 库位同步接口调用 RCS任务下发接口功能调用 RCS 取消任务接口功能开发 RCS异常功回调功能开发 --- rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/LocStsType.java | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/LocStsType.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/LocStsType.java index e172e0b..0047168 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/LocStsType.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/enums/LocStsType.java @@ -1,6 +1,5 @@ package com.vincent.rsf.server.manager.enums; - public enum LocStsType { //绌烘澘 @@ -26,14 +25,6 @@ this.desc = desc; } -// public long val() { -// LocStsService service = SpringUtils.getBean(LocStsService.class); -// LocSts locSts = service.getOne(new LambdaQueryWrapper<LocSts>().eq(LocSts::getLocSts, this.toString())); -// if (locSts == null) { -// throw new CoolException("LocStsType Error!"); -// } -// return locSts.getId(); -// } public static LocStsType get(String el) { for (LocStsType value : LocStsType.values()) { @@ -44,5 +35,26 @@ return null; } + /** + * @author Ryan + * @date 2025/8/28 + * @description: RCS搴撲綅鐘舵�佽浆鎹� + * @version 1.0 + */ + public static String getLocSts(String val) { + if (val.equals(RcsLocStsType.LOC_STS_TYPE_D.type)) { + return LocStsType.LOC_STS_TYPE_D.type; + } else if (val.equals(RcsLocStsType.LOC_STS_TYPE_F.type)) { + return LocStsType.LOC_STS_TYPE_F.type; + } else if (val.equals(RcsLocStsType.LOC_STS_TYPE_S.type)) { + return LocStsType.LOC_STS_TYPE_S.type; + } else if (val.equals(RcsLocStsType.LOC_STS_TYPE_R.type)) { + return LocStsType.LOC_STS_TYPE_R.type; + } else if (val.equals(RcsLocStsType.LOC_STS_TYPE_X.type)) { + return LocStsType.LOC_STS_TYPE_X.type; + } + return null; + } + } -- Gitblit v1.9.1