Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
8b9989b7
Commit
8b9989b7
authored
Oct 16, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字典修改
parent
2539c243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
CylDictEnum.java
...join/amos/boot/module/cylinder/api/enums/CylDictEnum.java
+15
-15
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-api/src/main/java/com/yeejoin/amos/boot/module/cylinder/api/enums/CylDictEnum.java
View file @
8b9989b7
...
@@ -11,16 +11,16 @@ package com.yeejoin.amos.boot.module.cylinder.api.enums;
...
@@ -11,16 +11,16 @@ package com.yeejoin.amos.boot.module.cylinder.api.enums;
*/
*/
public
enum
CylDictEnum
{
public
enum
CylDictEnum
{
withinScope_0
(
3141
,
"0"
,
"withinScope"
),
withinScope_0
(
3141
,
0
,
"withinScope"
),
withinScope_1
(
3142
,
"1"
,
"withinScope"
),
withinScope_1
(
3142
,
1
,
"withinScope"
),
sealedState_0
(
3143
,
"0"
,
"sealedState"
),
sealedState_0
(
3143
,
0
,
"sealedState"
),
sealedState_1
(
3144
,
"1"
,
"sealedState"
),
sealedState_1
(
3144
,
1
,
"sealedState"
),
defective_0
(
3145
,
"0"
,
"defective"
),
defective_0
(
3145
,
0
,
"defective"
),
defective_1
(
3146
,
"1"
,
"defective"
),
defective_1
(
3146
,
1
,
"defective"
),
abnormaLTemperature_0
(
3147
,
"0"
,
"abnormaLTemperature"
),
abnormaLTemperature_0
(
3147
,
0
,
"abnormaLTemperature"
),
abnormaLTemperature_1
(
3148
,
"1"
,
"abnormaLTemperature"
),
abnormaLTemperature_1
(
3148
,
1
,
"abnormaLTemperature"
),
warningSign_0
(
3149
,
"0"
,
"warningSign"
),
warningSign_0
(
3149
,
0
,
"warningSign"
),
warningSign_1
(
3150
,
"1"
,
"warningSign"
);
warningSign_1
(
3150
,
1
,
"warningSign"
);
/**
/**
* 主键
* 主键
...
@@ -30,7 +30,7 @@ public enum CylDictEnum {
...
@@ -30,7 +30,7 @@ public enum CylDictEnum {
/**
/**
* 编码
* 编码
*/
*/
private
String
code
;
private
Integer
code
;
/**
/**
* key
* key
...
@@ -38,7 +38,7 @@ public enum CylDictEnum {
...
@@ -38,7 +38,7 @@ public enum CylDictEnum {
private
String
key
;
private
String
key
;
// 构造方法
// 构造方法
CylDictEnum
(
Integer
seqNbr
,
String
code
,
String
key
)
{
CylDictEnum
(
Integer
seqNbr
,
Integer
code
,
String
key
)
{
this
.
seqNbr
=
seqNbr
;
this
.
seqNbr
=
seqNbr
;
this
.
code
=
code
;
this
.
code
=
code
;
this
.
key
=
key
;
this
.
key
=
key
;
...
@@ -48,17 +48,17 @@ public enum CylDictEnum {
...
@@ -48,17 +48,17 @@ public enum CylDictEnum {
return
seqNbr
;
return
seqNbr
;
}
}
public
String
getCode
()
public
Integer
getCode
()
{
{
return
code
;
return
code
;
}
}
public
String
getKey
()
public
String
getKey
()
{
{
return
code
;
return
key
;
}
}
public
static
CylDictEnum
getEnum
(
String
code
,
String
key
)
public
static
CylDictEnum
getEnum
(
Integer
code
,
String
key
)
{
{
for
(
CylDictEnum
cylDictEnum
:
CylDictEnum
.
values
())
for
(
CylDictEnum
cylDictEnum
:
CylDictEnum
.
values
())
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment