From 6314f037e424b2d4a8234ac0f1c0c7563c7c6918 Mon Sep 17 00:00:00 2001 From: panbaolin <123456> Date: Tue, 1 Aug 2023 15:11:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:1.=E5=88=A0=E9=99=A4=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=99=A8@Compoint=E6=B3=A8=E8=A7=A3=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=83=BD=E8=B0=B1=E8=A7=A3=E6=9E=90=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/email/EmailServiceManager.java | 1 - .../modules/base/enums/SampleStatus.java | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/enums/SampleStatus.java diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/email/EmailServiceManager.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/email/EmailServiceManager.java index 0e9abe51..dc67e62a 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/email/EmailServiceManager.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/email/EmailServiceManager.java @@ -27,7 +27,6 @@ import java.util.stream.Collectors; * 邮件服务管理器 */ @Slf4j -@Component public class EmailServiceManager { private SysEmail email; diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/enums/SampleStatus.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/enums/SampleStatus.java new file mode 100644 index 00000000..a5058443 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/enums/SampleStatus.java @@ -0,0 +1,37 @@ +package org.jeecg.modules.base.enums; + +/** + * 能谱状态 + */ +public enum SampleStatus { + /** + * 样品谱未处理 + */ + UNTREATED("U"), + /** + * 样品谱成功的被自动处理 + */ + COMPLETE("P"), + /** + * 代表样品谱正在被自动处理中 + */ + IN_PROCESS("A"), + /** + * 样品谱完成交互分析 + */ + INTERACTIVE("R"), + /** + * 自动处理失败 + */ + FAIL("F"); + + public String value; + + SampleStatus(String value) { + this.value = value; + } + + public String getValue(){ + return this.value; + } +}