Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
7e007d18
Commit
7e007d18
authored
May 14, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出账检核-增加币种49
parent
58d0380b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
yd-csf-service/src/main/java/com/yd/csf/service/enums/FortuneTypeEnum.java
+5
-3
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/enums/FortuneTypeEnum.java
View file @
7e007d18
package
com
.
yd
.
csf
.
service
.
enums
;
import
org.apache.commons.lang3.StringUtils
;
/**
* 项目类型码枚举
* XS("销售佣金", "1")
...
...
@@ -47,11 +49,11 @@ public enum FortuneTypeEnum {
* @return 对应的枚举实例
*/
public
static
FortuneTypeEnum
getByItemValue
(
String
itemValue
)
{
if
(
itemValue
==
null
)
{
return
null
;
if
(
StringUtils
.
isBlank
(
itemValue
)
)
{
throw
new
IllegalArgumentException
(
"itemValue is blank"
)
;
}
for
(
FortuneTypeEnum
type
:
FortuneTypeEnum
.
values
())
{
if
(
type
.
getItemValue
()
.
equals
(
itemValue
))
{
if
(
type
.
itemValue
.
equals
(
itemValue
))
{
return
type
;
}
}
...
...
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