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
67252622
Commit
67252622
authored
Jan 17, 2019
by
cjl
Browse files
1、修复批量删除时,前端获取id为undefined的问题
2、修复后端,查询列表为空时,程序异常问题
parent
4a47e254
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/financial/financial_base.js
View file @
67252622
This diff is collapsed.
Click to expand it.
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
67252622
...
...
@@ -53,13 +53,16 @@ public class DepotItemController {
try
{
List
<
DepotItemVo4HeaderId
>
depotItemList
=
depotItemService
.
getHeaderIdByMaterial
(
materialParam
,
depotIds
);
String
allReturn
=
""
;
if
(
depotItemList
!=
null
)
{
if
(
depotItemList
!=
null
&&
depotItemList
.
size
()>
0
)
{
for
(
DepotItemVo4HeaderId
d
:
depotItemList
)
{
Long
dl
=
d
.
getHeaderid
();
//获取对象
allReturn
=
allReturn
+
dl
.
toString
()
+
","
;
}
/**
* 2019-01-17修复depotItemList集合为空时,程序异常
* */
allReturn
=
allReturn
.
substring
(
0
,
allReturn
.
length
()
-
1
);
}
allReturn
=
allReturn
.
substring
(
0
,
allReturn
.
length
()
-
1
);
if
(
allReturn
.
equals
(
"null"
))
{
allReturn
=
""
;
}
...
...
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