From c42614978ff12013a1eabebd0289b27169a5784f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 06 五月 2025 17:25:56 +0800 Subject: [PATCH] 1、实现万功能token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并相应修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Deleted.java | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Deleted.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Deleted.java new file mode 100644 index 0000000..923f23e --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mybatis/envm/Deleted.java @@ -0,0 +1,36 @@ +package com.dy.common.mybatis.envm; + +import com.baomidou.mybatisplus.annotation.EnumValue; + +public enum Deleted implements IEnum{ + + YES((byte)1, "鏄�"), + NO((byte)0, "鍚�"); + + @EnumValue + public Byte code ; + public String name ; + + Deleted(Byte code, String name){ + this.code = code ; + this.name = name ; + } + + /** + * 瀹為檯涓婅浆json锛岃Pojo鐨勫搴斿睘鎬� + * @return json + */ +// public String toString(){ +// return "{\"code\":" + this.code + "," + "\"name\":" + this.name + "}" ; +// } + + @Override + public Byte getCode() { + return this.code ; + } + + @Override + public String getName() { + return this.name ; + } +} -- Gitblit v1.8.0