Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
89565ec7
Commit
89565ec7
authored
Oct 03, 2021
by
季圣华
Browse files
解决获取当前用户的仓库的bug
parent
6104e87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/depot/DepotService.java
View file @
89565ec7
...
...
@@ -291,9 +291,9 @@ public class DepotService {
String
[]
depotArr
=
depotStr
.
split
(
","
);
for
(
String
depotId:
depotArr
)
{
JSONObject
item
=
new
JSONObject
();
item
.
put
(
"id"
,
depotId
);
item
.
put
(
"id"
,
Long
.
parseLong
(
depotId
)
)
;
for
(
Depot
depot
:
dataList
)
{
if
(
depot
.
getId
()
==
Integer
.
parse
Int
(
depotId
)){
if
(
depot
.
getId
()
==
Long
.
parse
Long
(
depotId
)){
item
.
put
(
"depotName"
,
depot
.
getName
());
item
.
put
(
"isDefault"
,
depot
.
getIsDefault
());
}
...
...
Write
Preview
Supports
Markdown
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