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
097ed1cd
Commit
097ed1cd
authored
Feb 16, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug:4748
parent
a41e7af8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
DataDictionaryServiceImpl.java
...ot/biz/common/service/impl/DataDictionaryServiceImpl.java
+10
-0
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/service/impl/DataDictionaryServiceImpl.java
View file @
097ed1cd
...
...
@@ -105,6 +105,16 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
public
List
<
DataDictionary
>
getDataDictionaryAndCount
(){
List
<
DataDictionary
>
list
=
dataDictionaryMapper
.
getDataDictionaryListAndCount
();
for
(
DataDictionary
data
:
list
)
{
Long
id
=
data
.
getSequenceNbr
();
int
num
=
data
.
getCount
();
for
(
DataDictionary
dataDictionary
:
list
)
{
if
(
id
.
equals
(
dataDictionary
.
getParent
()))
{
num
=
num
+
dataDictionary
.
getCount
();
}
}
data
.
setCount
(
num
);
}
return
list
;
}
...
...
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