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
50aa12b2
Commit
50aa12b2
authored
Jan 21, 2025
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏业务模块详情提交
parent
10360e70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+6
-2
bgdj_gz.json
...odule-statistics-biz/src/main/resources/json/bgdj_gz.json
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
50aa12b2
...
...
@@ -355,6 +355,10 @@ public class DPSubServiceImpl {
relation
+=
!
value
.
equals
(
fieldvalue
);
}
else
if
(
condition
.
equals
(
"equal"
))
{
relation
+=
value
.
equals
(
fieldvalue
);
}
else
if
(
condition
.
equals
(
"inList"
)){
relation
+=
value
.
contains
(
fieldvalue
+
""
);
}
else
if
(
condition
.
equals
(
"unList"
))
{
relation
+=
!
value
.
contains
(
fieldvalue
+
""
);
}
relation
+=
relationMap
.
getOrDefault
(
conditionObj
.
getString
(
"relation"
),
""
);
}
...
...
@@ -504,7 +508,7 @@ public class DPSubServiceImpl {
Object
displayName
=
JsonValueUtils
.
getValueByKey
(
yObj
,
"visualParams"
,
"visualParams.title"
);
subObj
.
put
(
"displayName"
,
displayName
);
subObj
.
put
(
"renderType"
,
"basic"
);
subObj
.
put
(
"columns"
,
columnsArray
.
size
());
subObj
.
put
(
"columns"
,
columnsArray
.
size
()
>
4
?
4
:
columnsArray
.
size
()
);
JSONArray
datas
=
new
JSONArray
();
mergedArray
.
stream
().
forEach
(
x
->
{
...
...
@@ -628,7 +632,7 @@ public class DPSubServiceImpl {
}
}
else
if
(
"attachmentUpload"
.
equals
(
xObj
.
getString
(
"componentKey"
)))
{
JSONArray
attachmentUploadDatas
=
matinfo
.
getJSONArray
(
"datas"
);
if
(!
ValidationUtil
.
isEmpty
(
value
))
{
if
(!
ValidationUtil
.
isEmpty
(
value
)
&&
"null"
.
equals
(
value
)
)
{
JSONObject
attachmentUploadDatasObj
=
new
JSONObject
();
log
.
info
(
"附件数据:{}"
,
value
);
((
JSONArray
)
value
).
stream
().
forEach
(
y
->
{
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/bgdj_gz.json
View file @
50aa12b2
...
...
@@ -11,7 +11,7 @@
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/jg-change-registration-reform/getDetail"
,
"params"
:
{
"
sequenceNbr
"
:
"{sequenceNbr}"
"
currentDocumentId
"
:
"{sequenceNbr}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
...
...
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