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
5bf26b9a
Commit
5bf26b9a
authored
May 22, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(大编辑):代码重构
1.基本信息、设计信息、使用信息、检验信息、制造信息增加枚举处理逻辑 2.技术参数增加枚举
parent
d77dea59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CbDataDictTypeHandler.java
...module/jg/biz/edit/typeHandler/CbDataDictTypeHandler.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/typeHandler/CbDataDictTypeHandler.java
View file @
5bf26b9a
...
@@ -27,7 +27,7 @@ public class CbDataDictTypeHandler implements DictTypeHandler {
...
@@ -27,7 +27,7 @@ public class CbDataDictTypeHandler implements DictTypeHandler {
public
String
handle
(
String
dictType
,
String
dictCode
)
{
public
String
handle
(
String
dictType
,
String
dictCode
)
{
String
key
=
dictType
+
"_"
+
dictCode
;
String
key
=
dictType
+
"_"
+
dictCode
;
return
cache
.
computeIfAbsent
(
key
,
(
k
)
->
{
return
cache
.
computeIfAbsent
(
key
,
(
k
)
->
{
DataDictionary
dataDictionary
=
dataDictionaryService
.
getByCode
(
k
,
dictType
);
DataDictionary
dataDictionary
=
dataDictionaryService
.
getByCode
(
dictCode
,
dictType
);
return
Optional
.
ofNullable
(
dataDictionary
).
map
(
DataDictionary:
:
getName
).
orElse
(
null
);
return
Optional
.
ofNullable
(
dataDictionary
).
map
(
DataDictionary:
:
getName
).
orElse
(
null
);
});
});
}
}
...
...
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