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
9ebd4ac3
Commit
9ebd4ac3
authored
Jul 08, 2022
by
季圣华
Browse files
解决商品导入的bug
parent
0d1135c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/material/MaterialService.java
View file @
9ebd4ac3
...
...
@@ -705,7 +705,7 @@ public class MaterialService {
String
depotName
=
ExcelUtils
.
getContent
(
src
,
1
,
col
);
//获取仓库名称
if
(
StringUtil
.
isNotEmpty
(
depotName
))
{
Long
depotId
=
depotMap
.
get
(
depotName
);
if
(
depotId
!=
0L
){
if
(
depotId
!=
null
&&
depotId
!=
0L
){
String
stockStr
=
ExcelUtils
.
getContent
(
src
,
i
,
col
);
if
(
StringUtil
.
isNotEmpty
(
stockStr
))
{
stockMap
.
put
(
depotId
,
parseBigDecimalEx
(
stockStr
));
...
...
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