|
@@ -262,6 +262,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
Goods goods = null;
|
|
Goods goods = null;
|
|
try {
|
|
try {
|
|
goods = JSONObject.parseObject(objectMap.toJSONString(),Goods.class);
|
|
goods = JSONObject.parseObject(objectMap.toJSONString(),Goods.class);
|
|
|
|
+ goods.setSn(StringUtils.trim(goods.getSn()));
|
|
goodsList.add(goods);
|
|
goodsList.add(goods);
|
|
} catch (Exception ex) {
|
|
} catch (Exception ex) {
|
|
throw new BizException("导入数据出错", ex);
|
|
throw new BizException("导入数据出错", ex);
|