|
@@ -245,7 +245,9 @@ public class ExcelService {
|
|
|
String sourceId = map.get(3);
|
|
|
if(StringUtils.isNotBlank(sourceId)){
|
|
|
ProductSource byMchId = productSourceService.getByMchId(sourceId);
|
|
|
- productSourceHashMap.put(sourceId,byMchId);
|
|
|
+ if(byMchId!=null){
|
|
|
+ productSourceHashMap.put(sourceId,byMchId);
|
|
|
+ }
|
|
|
}
|
|
|
String pid = map.get(4);
|
|
|
if(StringUtils.isNotBlank(pid)){
|