Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
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
位宇华
klck
Commits
0462b7f4
Commit
0462b7f4
authored
Jun 24, 2024
by
Fuzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正
parent
e9cdecd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesAccountServiceImpl.java
...yi/system/service/impl/ActSuppliesAccountServiceImpl.java
+3
-2
No files found.
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesAccountServiceImpl.java
View file @
0462b7f4
...
@@ -92,7 +92,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
...
@@ -92,7 +92,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
JSONObject
object
=
new
JSONObject
();
JSONObject
object
=
new
JSONObject
();
object
.
put
(
"accsubjectchart"
,
"1896891590924304390"
);
object
.
put
(
"accsubjectchart"
,
"1896891590924304390"
);
object
.
put
(
"pk_org"
,
"1685820920723669151"
);
object
.
put
(
"pk_org"
,
"1685820920723669151"
);
object
.
put
(
"codes"
,
actDispensing
.
get
AccountingCode
());
object
.
put
(
"codes"
,
actDispensing
.
get
R
());
ReturnResult
returnResult
=
VoucherUtils
.
callVoucherQuery
(
object
,
"/yonbip/fi/fipub/accsubject/querysubjectapi"
);
ReturnResult
returnResult
=
VoucherUtils
.
callVoucherQuery
(
object
,
"/yonbip/fi/fipub/accsubject/querysubjectapi"
);
JSONObject
o
=
(
JSONObject
)
returnResult
.
getData
().
get
(
0
);
JSONObject
o
=
(
JSONObject
)
returnResult
.
getData
().
get
(
0
);
JSONObject
data
=
o
.
getJSONObject
(
"accsubjectchart"
);
JSONObject
data
=
o
.
getJSONObject
(
"accsubjectchart"
);
...
@@ -101,7 +101,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
...
@@ -101,7 +101,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
JSONArray
jsonObject
=
(
JSONArray
)
stringObjectEntry
.
getValue
();
JSONArray
jsonObject
=
(
JSONArray
)
stringObjectEntry
.
getValue
();
Optional
<
JSONObject
>
code
=
IntStream
.
range
(
0
,
jsonObject
.
size
())
Optional
<
JSONObject
>
code
=
IntStream
.
range
(
0
,
jsonObject
.
size
())
.
mapToObj
(
jsonObject:
:
getJSONObject
)
.
mapToObj
(
jsonObject:
:
getJSONObject
)
.
filter
(
v
->
actDispensing
.
get
AccountingCode
().
equals
(
v
.
getString
(
"code"
)))
.
filter
(
v
->
actDispensing
.
get
R
().
equals
(
v
.
getString
(
"code"
)))
.
findFirst
();
.
findFirst
();
if
(
code
.
isPresent
())
{
if
(
code
.
isPresent
())
{
JSONArray
bodies
=
code
.
get
().
getJSONArray
(
"bodies"
);
JSONArray
bodies
=
code
.
get
().
getJSONArray
(
"bodies"
);
...
@@ -126,6 +126,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
...
@@ -126,6 +126,7 @@ public class ActSuppliesAccountServiceImpl implements IActSuppliesAccountService
}
}
}
}
}
}
actDispensing
.
setAccountingCode
(
actDispensing
.
getR
());
}
}
return
actDispensings
;
return
actDispensings
;
}
}
...
...
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