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
57de1c4d
Commit
57de1c4d
authored
Aug 25, 2022
by
季圣华
Browse files
改为超过20个仓库提示还要选择仓库才能查询
parent
f91a1967
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
57de1c4d
...
...
@@ -412,7 +412,7 @@ public class DepotItemController {
depotList
.
add
(
object
.
getLong
(
"id"
));
}
//如果有权限的仓库数量太多则提示要选择仓库
if
(
depotList
.
size
()>
1
0
)
{
if
(
depotList
.
size
()>
2
0
)
{
throw
new
BusinessRunTimeException
(
ExceptionConstants
.
REPORT_TWO_MANY_DEPOT_FAILED_CODE
,
ExceptionConstants
.
REPORT_TWO_MANY_DEPOT_FAILED_MSG
);
}
...
...
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