Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
10b59573
Commit
10b59573
authored
Aug 16, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片来源
parent
8b8b1fda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
ch-core/src/main/java/com/wwdz/ch/core/consts/CommonEnum.java
...ore/src/main/java/com/wwdz/ch/core/consts/CommonEnum.java
+48
-0
No files found.
ch-core/src/main/java/com/wwdz/ch/core/consts/CommonEnum.java
View file @
10b59573
...
...
@@ -68,4 +68,52 @@ public class CommonEnum {
}
public
enum
SourceEnum
{
CNG
(
0
,
"CNG"
),
CX
(
1
,
"诚轩拍卖"
),
HX
(
2
,
"华夏古泉"
),
JD
(
3
,
"嘉德"
),
NUMISTA
(
4
,
"NUMISTA"
),
SBP
(
5
,
"SBP"
),
SPINK
(
6
,
"SPINK"
),
CPH
(
7
,
"畅拍行 "
),
YM
(
8
,
"阳明拍卖"
),
ZENO
(
9
,
"ZENO"
),
CA
(
10
,
"CA"
),
YXY
(
11
,
"YXY"
),
USER_UPLOAD
(
1000
,
"用户上传"
),
;
private
int
code
;
private
String
des
;
SourceEnum
(
int
code
,
String
des
)
{
this
.
code
=
code
;
this
.
des
=
des
;
}
public
static
String
getNameByCode
(
int
code
)
{
for
(
SourceEnum
sourceEnum
:
SourceEnum
.
values
())
{
if
(
code
==
sourceEnum
.
getCode
())
{
return
sourceEnum
.
getDes
();
}
}
return
null
;
}
public
int
getCode
()
{
return
code
;
}
public
String
getDes
()
{
return
des
;
}
}
}
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