Commit 9ebd4ac3 authored by 季圣华's avatar 季圣华
Browse files

解决商品导入的bug

parent 0d1135c7
......@@ -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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment